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 |
Difference between Shallow copy and Deep copy?
what is the difference between declaration and definition of a variable or function ?
how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"
how to execute with out main in cprogram
YBJBU6
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
Explain what are binary trees?
What do you mean by c what are the main characteristics of c language?
Can the sizeof operator be used to tell the size of an array passed to a function?
What is the difference between a string and an array?
Using which language Test cases are added in .ptu file of RTRT unit testing???
In the following control structure which is faster? 1.Switch 2.If-else and which consumes more memory?