Interview Questions:: What Are The Auto Variables? Where Are They Stored?
This document contains 25 interview questions related to programming concepts in C language. The questions cover topics such as local blocks, lvalue and rvalue, increment operators, modulus operator, arrays, do-while loops, pass by value vs reference, functions vs procedures, static and volatile variables, auto variables, break statements, assignment vs equality operators, newline escape sequences, preprocessor directives, header files, compound statements, semicolons, typedef, creating custom header files, logical AND operator, getch() and getche() functions, accessing array values, enumerated types, character pointers vs arrays, and the main() function.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
29 views1 page
Interview Questions:: What Are The Auto Variables? Where Are They Stored?
This document contains 25 interview questions related to programming concepts in C language. The questions cover topics such as local blocks, lvalue and rvalue, increment operators, modulus operator, arrays, do-while loops, pass by value vs reference, functions vs procedures, static and volatile variables, auto variables, break statements, assignment vs equality operators, newline escape sequences, preprocessor directives, header files, compound statements, semicolons, typedef, creating custom header files, logical AND operator, getch() and getche() functions, accessing array values, enumerated types, character pointers vs arrays, and the main() function.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Interview Questions:
1) What is a local block?
2) What is lvalue & rvalue? 3) What is the difference between var++ and ++var ? 4) What does the modulus operator do? 5) What are merits & demerits of array in C? 6) When is do-while used in C ? 7) What is difference between pass by value and pass by reference? 8) What is the difference between functions & procedures ? 9) What is static & volatile variables ? 10) What are the auto variables? Where are they stored? 11) What is break statement? 12) Differentiate between the = symbol and == symbol? 13) What is a newline escape sequence? 14) What are pre-processor directives? 15) What are header files? What are their uses? 16) What are compound statements? 17) Why is a semicolon (;) put at the end of every program statement? 18) What is the use of typedef? 19) Is it possible to create your own header files? 20) What is the role of && operator in a program code? 21) Differentiate between functions getch() and getche(). 22) How do you access the values within an array? 23) Explain enumerated types. 24) What is the difference between char *a and char a[]? 25) What is the purpose of main( ) function?