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.
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
write a program for 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4
What is %g in c?
Please write me a program to print the first 50 prime numbers (NOT between the range 1 -50)
Do string constants represent numerical values?
Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?
Write a C program to find the smallest of three integers, without using any of the comparision operators.
a simple c program using 'for' loop to display the output 5 4 3 2 1
What is a built-in function in C?
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
what is array?
Explain what is operator promotion?