1. main()
{
printf("%d",printf("HelloSoft"));
} Output?
Answers were Sorted based on User's Feedback
Answer / sandy
Upon a successful return, the printf() function returns the
number of characters printed.
Answer: HelloSoft9
Is This Answer Correct ? | 39 Yes | 2 No |
Answer / unknown
as %d is used for int and "hellosoft" is char , error will
prevail.
Is This Answer Correct ? | 2 Yes | 8 No |
Why doesnt long int work?
What does %d do?
In which header file is the null macro defined?
What are structure types in C?
Which is an example of a structural homology?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }
2 Answers Vector, Vector India,
which header file contains main() function in c?
17 Answers Google, HCL, TCS,
What are nested functions in c?
What is C language Terminator?
discuss the steps needed to get a program from source code to executable in a system?
Do you know the use of 'auto' keyword?