FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

C Programming INTERVIEW QUESTIONS

Languages
37. What is the difference between call by value and call by reference?
  When using Call by Value, you are sending the value of a variable as parameter to a function, where Call by Reference sends the address of the variable. Also under Call by Value, the value in the parameter is not affected by whatever operation that takes place, while in the case of Call by Reference, values can be affected by the process within the functions.
Your Name Your Email-ID
Your Answer
 
38. When can void pointer and null pointer be used in C?/th>
  Void pointer is a generic pointer that can be used to point another variable of any data type. Null pointer is a pointer which is pointing to nothing.
Your Name Your Email-ID
Your Answer
 
 
39. What is the difference between pre decrement and post decrement operator?
 
  • Pre decrement operator is used to decrement variable value by 1 before assigning the value to the variable.
  • Post decrement operator is used to decrement variable value by 1 after assigning the value to the variable.
Your Name Your Email-ID
Your Answer
 
40. List out some keywords available in C language?
  Below are some of keywords that C language offers.
auto, double, int, struct, break, else, long, switch, case, enum, register, typedef, char, extern, return, union, const, float, short, unsigned, continue, for, signed, void, default, goto, sizeof, volatile, do, if, static, while.
Your Name Your Email-ID
Your Answer