34.what are bitwise shift operators?
35.what are bit fields? What is the use of bit fields in a
structure declaration?
36.what is the size of an integer variable?
37.what are the files which are automatically opened when a
c file is executed?
38.what is the little endian and big endian?
39.what is the use of fflush() function?
40.what is the difference between exit() and _exit() functions?
41.where does malloc() function get the memory?
42.what is the difference between malloc() and calloc()
function?
43.what is the difference between postfix and prefix unary
increment operators?
Answers were Sorted based on User's Feedback
Answer / arthy
39. fflush() is a function used to refresh the buffer in
case of files..
once fflush() function is executed all the contents in the
buffer are put into the specific files and the buffer is
emptied..
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / snvs.narayana
43.prefix operator increase and then use value.
post fix operator use the value and then increase.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / prakash
43.postfix unary increment operator is assume the given
number and then add with one number to the given variable or
integer and display with the output .but prefix unary
increment operator is first add with one number t o given
variable or integer and display with the output
Is This Answer Correct ? | 0 Yes | 2 No |
What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement.
char ch=10;printf("%d",ch);what is the output
How can you check to see whether a symbol is defined?
Explain how do you use a pointer to a function?
What is stack in c?
What is page thrashing?
implement NAND gate logic in C code without using any bitwise operatior.
do ne body have any idea about the salary for the we r going to have interview. yup .. u got it right ..i m talking abt NIC.
why the execution starts from main function
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
What does the message "automatic aggregate intialization is an ansi feature" mean?
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }