C Programming and Technical

Q. What is an lvalue?

A. An lvalue is an expression to which a value can be assigned. The lvalue expression is located on the left side of an assignment statement, whereas an rvalue is located on the right side of an assignment statement. Each assignment statement must have an lvalue and an rvalue. The lvalue expression must reference a storable variable in
memory. It cannot be a constant

Read Solution (Total 0)

C Other Question

Q. Where does global, static, local, register variables and C Program instructions get stored?

A. Global , static, local : In main memory
Register variable: In registers
C program : In main memory.
Q. What is an argument? Differentiate between formal arguments and
actual arguments?

A. An argument is an entity used to pass the data from calling function to the called function. Formal arguments are the arguments available in
the function definition. They are preceded by their own data types.
Actual arguments are available in the function call