• 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);}

Some Address will be printed
None of These
Hello
H

ANSWER DOWNLOAD EXAMIANS APP

C Programming
C programs are converted into machine language with the help of

A compiler
An Editor
An operating system
None of these.

ANSWER DOWNLOAD EXAMIANS APP

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

fff4
fff3
fff0
fff2
fff1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);}

C
NOITANIMAXE C
Syntax error
NOITANIMAXE
No output at all.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);}

0 Garbage Value
Garbage vlaue Garbage Value
Garbage value 0
0 0
Code will not compile

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);}

1
0
complier error
no error no output

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
↑