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 to delete a node from linked list w/o using collectons?
Is main is a keyword in c?
12345 1234 123 12 1
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
State two uses of pointers in C?
What is union in c?
How do you declare a variable that will hold string values?
What is the memory allocated by the following definition ? int (*x)[10];
How do I swap bytes?
Explain what is the best way to comment out a section of code that contains comments?
Does c have circular shift operators?