Is it possible to use curly brackets ({}) to enclose single line code in c program?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

which type of question asked from c / c++ in interview.

2 Answers  


what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }

1 Answers   Google,


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

0 Answers  


What do the functions atoi(), itoa() and gcvt() do?

0 Answers   Aspire, Infogain,


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

2 Answers   Aricent, Manipal University,






main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

0 Answers   Wilco,


Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001

2 Answers  


What is bubble sort in c?

0 Answers  


What does the error 'Null Pointer Assignment' mean and what causes this error?

0 Answers   TISL,


What is a buffer in c?

0 Answers  


Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com

0 Answers  


How can I pad a string to a known length?

0 Answers  


Categories