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.
Why do we use c for the speed of light?
What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }
write a program to generate 1st n fibonacci prime number
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
How do I get a null pointer in my programs?
Are bit fields portable?
Who is the main contributor in designing the c language after dennis ritchie?
Is return a keyword in c?
write a program in c language for the multiplication of two matrices using pointers?
What is variables in c?
How to set a variable in the environment list?
how to construct a simulator keeping the logical boolean gates in c