• 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

Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);}

TRUE ANSWER : ?
YOUR ANSWER : ?

If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3;

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); }

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);}

TRUE ANSWER : ?
YOUR ANSWER : ?

void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed?

TRUE ANSWER : ?
YOUR ANSWER : ?

#include<stdio.h>void main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);}

TRUE ANSWER : ?
YOUR ANSWER : ?

short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code?

TRUE ANSWER : ?
YOUR ANSWER : ?

The recursive functions are executed in a ...........

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);}

TRUE ANSWER : ?
YOUR ANSWER : ?

What would be the output for the following Turbo C code?#include<stdio.h>void main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);}

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
↑