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 |
Who developed c language?
number of times a digit is present in a number
what is disadvantage of pointer in C
What is use of #include in c?
Differentiate b/w Modify and Update commands giving example.
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
Why preprocessor should come before source code?
what is differnence b/w macro & functions
what does the following function print? func(int i) { if(i%2)return 0; eale return 1; } main() { int =3; i=func(i); i=func(i); printf("%d",i);}
How to implement call back functions ?
What does the c in ctime mean?
how to build a exercise findig min number of e heap with list imlemented?