• 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 the following code fragment?void main(){ printf("%x",-1<<4);}

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 is used to find the first occurrence of a given string in another string?

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

Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); }

TRUE ANSWER : ?
YOUR ANSWER : ?

Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5?

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

Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, 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
↑