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 |
what is an ERP?
Write a function in c to find the area of a triangle whose length of three sides is given.
What is I ++ in c programming?
What is the use of f in c?
When is a void pointer used?
Can you please compare array with pointer?
Which is best book for data structures in c?
WHAT IS PRE POSSESSORS?
Can u return two values using return keyword? If yes, how? If no, why?
Differentiate b/w Modify and Update commands giving example.
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
Write a C program that reads a series of strings and prints only those ending in "ed"