Why do we need a structure?
No Answer is Posted For this Question
Be the First to Post Answer
What is the scope of local variable in c?
Write a program in C to print the alphabets in order as on a mobile phone.i.e:When 2 is pressed once 'a' prints and if it is pressed two times 'b' prints and so on.we have to print all the alphabets as on mobile phone like this.
What is a lookup table in c?
What is the return type of sizeof?
If fflush wont work, what can I use to flush input?
what will be maximum number of comparisons when number of elements are given?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
write a program to display the numbers having digit 9 in the given range from 1 to 100
Explain what is the benefit of using enum to declare a constant?
What are keywords in c with examples?
How macro execution is faster than function ?
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.