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 i=0; while(+(+i--)!=0) i-=i++; printf(i); }
Write a program for the following series? 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 1234567890123210987654321 .........1234321............ ..........123454321............ ..........12345654321............ 7 8 9 0 1 Pls............?
What is the process of writing the null pointer?
#include<conio.h> #include<stdio.h> void main() { int i; if(1,0,2,3) { printf("if"); } else { printf("else"); } getch(); } Can any body tell the answer of this question with explanation?
main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.
What are the different types of pointers used in c language?
What is difference between structure and union?
Explain how can I convert a number to a string?
How to establish connection with oracle database software from c language?
void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }
WRITE A C PROGRAM FOR PRINT "RHOMBUS" STRUCTURE . Example: Enter the numbers :3 * * * * * * * *
why we wont use '&' sing in aceesing the string using scanf