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 |
main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }
4 Answers Vector, Wipro, Zoho,
what is the difference between #include<stdio.h> and #include "stdio.h" ?
How do you use a pointer to a function?
What is difference between constant pointer and constant variable?
What does extern mean in a function declaration?
What is an lvalue in c?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What are pointers really good for, anyway?
What is the use of getchar() function?
how to write a prog in c to convert decimal number into binary by using recursen function,
what is use of malloc and calloc?
What is void pointers in c?