Friday, January 8, 2025

C Programming : Interview Questions


Chapter 1 :  General Concept
  1. What is a local block?
  2. How do you zero-pad a number in C ?  
  3. What is Difference between Declaration and Definition ? 
  4. How should I decide which integer type to use?
Chapter 2 :  String Operations in C
  1. Reading String with space using the scanf statement
  2. Why do we need NULL Character / Terminating Character ?   
Chapter 3 : Loop Control in C Programming 
  1. What is Difference between for Loop and While Loop ?
  2. What is Difference between while Loop and do-While Loop ?
  3. What is Difference between for Loop and do-While Loop ?
  4.  
Chapter 4 : Pointer
  1. Are *ptr++ and ++*ptr are same ?
  2. Are ++*ptr and (*ptr)++ are same ? 
  3. Equivalent Pointer Expression for a[i][j][k][l]
  4. Size of NULL,EOF
  5. What is the difference between char *a and char a[]?

Difference Between :
  1. Single Line Comment Vs Multi Line Comment
  2. Declaration Vs Definition
  3. For Loop Vs While Loop
  4. While Loop Vs Do-While Loop
  5. Do-While Loop Vs For Loop
  6. Constant to Pointer Vs Pointer to Constant
  7. Compiler Vs Interpreter
  8. Function Vs Macro
  9. Source Code Vs Object Code
  10. Char *  Vs  Char a[]

Tags / Keywords : |

Stumble
Delicious
Technorati
Twitter
Facebook

0 Comments:

Post a Comment

Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email

 

Learn C Programming Copyright © 2010 LKart Theme is Designed by Lasantha, Free Blogger Templates