download Mastguru Android App

Question Detail

printf() belongs to which library of c

  • stdlib.h
  • stdio.h
  • stdout.h
  • stdoutput.h
Similar Questions :

1. What is correct order of precedence in C

  • Addition, Division, Modulus
  • Addition, Modulus, Division
  • Multiplication, Substration, Modulus
  • Modulus, Multiplication, Substration

2. What will be output of
#include
void main()
{
char test =`S`;
printf("\n%c",test);
}

  • S
  • Error
  • Garbage value
  • None of above

3. Which of the following below is/are valid C keywords

  • integer
  • int
  • null
  • none of above

4. The first expression in a for loop is

  • Step value of loop
  • Value of the counter variable
  • Any of above
  • None of above

5. Which is invalid name of identifier

  • world
  • addition23
  • test_name
  • factorial
Read more from - C Programming Questions Answers - Chapter 1
Post a comment