c programming – POFTUT

Commonly Asked C Programming Interview Questions and Answers

What is the difference between declaration and definition of a variable or function? Declaration a variable and function will declare that there is a variable or function in the program but the memory allocation is not done.Generally extern keyword is used Definition a variable or function will allocate required memory area. Normal definitions like int is used. … Read more

C Header Files and Include

[rps-include post=6557] C header files used to load builtin or third party libraries. Header files provides information about the library, functions, variables, structures etc. provided library. Include In order to load library header files we use #include preprocessor. #include preprocessor will load related library definitions before source code is expanded and compiled. All related definitions are inserted … Read more