C Programming Output Functions
Which of the following is the correct statement to print a string in C programming?
سی پروگرامنگ میں اسٹرنگ کو پرنٹ کرنے کے لئے مندرجہ ذیل میں سے کون سا صحیح بیان ہے؟
Answer: printf("I am a student");
Explanation
printf() is the standard function in C to print output to the screen.
The syntax must include double quotes around the string and end with a semicolon.
This question appeared in
Past Papers (6 times)
ETEA 25 Years Past Papers Subject Wise (Solved) (2 times)
KPK Teacher Past Papers SST PST CT TT PET (2 times)
Secondary School Teacher SST Past Papers, Syllabus, Jobs (2 times)
This question appeared in
Subjects (1 times)
COMPUTER (1 times)
Related MCQs
- Which describes meaning to statement of a programming language?
- In C programming, the symbol used for logical AND operator in a statement is _____?
- The linear density of a vibrating string is 1.3 x 10^-4 kg/m3. A transverse wave is propagating on the string and is described by the equation Y = 0.021 sin (x + 30t) where x and y are measured in meters and t in seconds. The tension in the wire?
- An electrical pole of 12 m height is stretched by a string of 20 m. Find the distance between the foot of the pole and the end point of the string on the ground?
- Which is a system programming language used for structured programming?
- Which one of the following is correct statement?
- Which statement is not correct?
- Which statement is correct?
- Point out the correct statement?
- Which of following statement is not correct about management ?