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 high level languages like C and FORTRAN also known as?
program to locate string with in a string with using strstr function
What are structures and unions? State differencves between them.
What is openmp in c?
How many types of functions are there in c?
What is Full Form of C and Why We use C
which is faster execution: loops or recursion?
the question is that what you have been doing all these periods (one year gap)
How can I direct output to the printer?
#include<stdio.h> void main() { int a=5,b=6,c; int x=(a<b)+7; int y=(x==7)*9; int z=(c=x+y)*2; printf("%h %h %h",x,y,z); } What is the output? Explain it.
What should not contain a header file?
where can function pointers be used?