• 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

Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the given program?#include<stdio.h>void main(){ int value=0; if(value) printf("well done "); printf("examveda");}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which one of the following is not a valid identifier?

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following program code?#include <stdio.h>void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));}

TRUE ANSWER : ?
YOUR ANSWER : ?

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

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

What will be the output of following program code?#include <stdio.h>int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

TRUE ANSWER : ?
YOUR ANSWER : ?

The type of the controlling expression of a switch statement cannot be of the type ........

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
↑