1000+ C Basic Interview Questions for Freshers Pdf - 1

Question: 1

What is call by value?

The values of the actual parameters are copied to the formal parameters on one to correspondence basis and this mechanism is called as call by value.

Question: 2

What is expression value?

An expression value is assigned to the left hand side variable.

Question: 3

What is an output statement?

The function printf() is used to display the results on the standard output (screen). Printf(“ ”) is an example of output statement.

Question: 4

What is format string?

The first parameter of the printf() function is a string which is used to control the output and hence it can be called as control string. This parameter is used to format the output for display and hence we can also call it as a “formatting string”. ‘%d’ is used as a formatting character within the control string of printf() function to display the value of an integer.

Question: 5

What is call by address?

The called function knows the address of the local variable of the calling function then the called function can modify the local variable’s value of the calling function. The can be achieved by the call by address concept.

Related Questions