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 is character constants?
We can draw a box in cprogram by using only one printf();& without using graphic.h header file?
using for loop sum 2 number of any 4 digit number in c language
f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error
Explain what are the different data types in c?
What are structural members?
What is an auto keyword in c?
consagous technology placement paper
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?
diff. between *p and **p
What are the disadvantages of c language?
What is the purpose of main( ) in c language?