Game Preview

C Language

  •  English    11     Public
    C Language
  •   Study   Slideshow
  • ++c means
    c=c+1
  •  5
  • b++ means
    b+=1
  •  5
  • C program execution begins from
    main()
  •  5
  • ____function causes immediate termination of the program and execution control return to the operating system.
    exit()
  •  5
  • ________loop the expression is evaluated after the body of loop is executed.
    d0..while
  •  5
  • int a,b a=b=4 b=a++ printf (“%d %d %d %d”, a++, --b, ++a, b--);
    o/p: 6 2 7 4
  •  15
  • int x=1, y=2, z=3; printf ("\n%d", x++ * ++y % ++z);
    o/p:3
  •  15
  • int x=1, y=2, z=3; printf ("\n%d", --x - --y - --z);
    -3
  •  15
  • What are the general description for loop statements and available loop types in C
    A statement that allows the execution of statements or groups of statements in a repeated way is defined as a loop. -while,do..while,for,nested loop
  •  10
  • What are the basic data types associated with C?
    • Int • Float • Double • Char • Void
  •  10
  • Describe the difference between = and == symbols in C programming?
    ‘==' is the comparison operator ‘=' is the assignment operator which is used to assign the value
  •  10