what will be the output of "printf("%d%d",scanf("%d%
d",&a,&b))".provide an explation regarding the question
Answer Posted / manish soni bca 3rd year jaipu
what is output of this program
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
a=10;
b=20;
printf("%d %d");
getch();
}
it gives the 20 10;
bcoz printf fn return which value,
read recently ,reversely.
so above question we easly explain.
that;-
so scanf fn return which value process it.
scanf fn return 2 and after return value of b.
manish soni bca 3rd year jaipur tagore college
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain how do you print only part of a string?
What is a built-in function in C?
What is #include stdio h?
Differentiate call by value and call by reference?
What are formal parameters?
Can you subtract pointers from each other? Why would you?
Tell us the use of fflush() function in c language?
write a c program for swapping two strings using pointer
What is hungarian notation? Is it worthwhile?
What is sizeof c?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
please explain every phase in the "SDLC" in the dotnet.
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
What is s in c?
What is else if ladder?