C Language

Submitted by: Submitted by

Views: 140

Words: 3733

Pages: 15

Category: Science and Technology

Date Submitted: 01/27/2013 11:10 PM

Report This Essay

Compiled by: C. Mishra and Anupam Sharma

What you should know about ā€˜Cā€™

pdfMachine A pdf writer that produces quality PDF files with ease! Produce quality PDF files in seconds and preserve the integrity of your original documents. Compatible across nearly all Windows platforms, if you can print from a windows application you can use pdfMachine. Get yours now!

1

Compiled by: C. Mishra and Anupam Sharma

I The C Language

I I I I I I I I I I I I I I 1: What is a local block? 2: Should variables be stored in local blocks? 3: When is a switch statement better than multiple if statements? 4: Is a default case necessary in a switch statement? 5: Can the last case of a switch statement skip including the break? 6: Other than in a for statement, when is the comma 7: How can you tell whether a loop ended prematurely? 8: What is the difference between goto and longjmp() and setjmp()? 9: What is an lvalue? 10: Can an array be an lvalue? 11: What is an rvalue? 12: Is left-to-right or right-to-left order guaranteed for operator precedence? 13: What is the difference between ++var and var++? 14: What does the modulus operator do?

II Variables and Data Storage

II 1: Where in memory are my variables stored? II 2: Do variables need to be initialized? II 3: What is page thrashing? II 4: What is a const pointer? II 5: When should the register modifier be used? Does it really help? II 6: When should the volatile modifier be used? II 7: Can a variable be both const and volatile ? II 8: When should the const modifier be used? II 9: How reliable are floating-point comparisons? II 10: How can you determine the maximum value that a numeric Variable can hold? II 11: Are there any problems with performing mathematical operations on different variable types? II 12: What is operator promotion? II 13: When should a type cast be used? II 14: When should a type cast not be used? II 15: Is it acceptable to declare/define a variable in a C header? II 16: What is the difference...