4)What would be the output?
main()
{
int num=425;
pf("%d",pf("%d",num));
}
a)Comp error
b)4425
c)4253
d)3435
e)none
Answers were Sorted based on User's Feedback
Answer / aswini
see.printf is a function that returns number.hence it will
return 3.then as there is a %d it will return the number in
its locality.hence it will return 425.
so the answer is 4253....
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ar ind,faisal,jitendra
4253 bcoz printf always return no of chracters inside its()
so it become 4253
Is This Answer Correct ? | 2 Yes | 0 No |
how do you execute a c program in unix.
what is computer engg
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.
Differentiate between full, complete & perfect binary trees.
When is a null pointer used?
what type of language is C?
"I LOVE MY COUNTRY" write a c program to get "COUNTRY MY LOVE I" as the output. Use any other programming language. It is not mandatory to use C.
11 Answers ABC Infotech, ADP, College School Exams Tests, Kovair,
main() { clrscr(); } clrscr();
What are dangling pointers in c?
main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*
What do you mean by command line argument?