• 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 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 : ?

What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int c = - -2; printf("c=%d", c);}

TRUE ANSWER : ?
YOUR ANSWER : ?

What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i);

TRUE ANSWER : ?
YOUR ANSWER : ?

Which operator has the lowest priority?

TRUE ANSWER : ?
YOUR ANSWER : ?

Standard ANSI C recognizes ______ number of keywords?

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

Find the output of the following program.#include<stdio.h>void main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following function is used to find the first occurrence of a given string in another string?

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
↑