Study

C Language

  •   0%
  •  0     0     0

  • ++c means
    c=c+1
  • ____function causes immediate termination of the program and execution control return to the operating system.
    exit()
  • b++ means
    b+=1
  • int x=1, y=2, z=3; printf ("\n%d", --x - --y - --z);
    -3
  • What are the basic data types associated with C?
    • Int • Float • Double • Char • Void
  • 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
  • C program execution begins from
    main()
  • int a,b a=b=4 b=a++ printf (“%d %d %d %d”, a++, --b, ++a, b--);
    o/p: 6 2 7 4
  • int x=1, y=2, z=3; printf ("\n%d", x++ * ++y % ++z);
    o/p:3
  • ________loop the expression is evaluated after the body of loop is executed.
    d0..while
  • Describe the difference between = and == symbols in C programming?
    ‘==' is the comparison operator ‘=' is the assignment operator which is used to assign the value