• 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

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

H
None of These
Some Address will be printed
Hello

ANSWER DOWNLOAD EXAMIANS APP

C Programming
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);}

12
11
13
Compilation error
14

ANSWER DOWNLOAD EXAMIANS APP

C Programming
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);}

0 1 2 3
0 1 2 2
None of these
1 1 2 2
1 1 2 3

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));}

-10 to infinite
-10 to -1
Complier error
-10 to 0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));}

Hello World
Hello
None of these
WorldHello
World

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);}

fff0
fff4
fff2
fff1
fff3

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON C Programming

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
↑