• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

C PROGRAMMING QUIZ

What is the correct value to return to the operating system upon the successful completion of a program?

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of given program?#include<stdio.h>void main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following function calculates the square of 'x' in C?

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the program ?#include<stdio.h>void main(){ printf(5+"Good Morningn");}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);}

TRUE ANSWER : ?
YOUR ANSWER : ?

The function sprintf() works like printf(), but operates on ..........

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));}

TRUE ANSWER : ?
YOUR ANSWER : ?

Find the output of the following program. void main() { int i=01289; printf("%d", i); }

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the program?#include<stdio.h>#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));}

TRUE ANSWER : ?
YOUR ANSWER : ?
MORE MCQ

QUIZ STATS

  • 0
  • 0

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑