• 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
What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");}

Good
Morning
M
None of these
Good Morning

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);}

None of These
N
P
M

ANSWER DOWNLOAD EXAMIANS APP

C Programming
If the two strings are identical, then strcmp() function returns

true
1
None of these
0
-1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
A C variable cannot start with

Both of the above
A special symbol other than underscore
An alphabet
A number

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);}

5 0 20
100 0 100
100 100 100
5 0 100
100 5 100

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function scanf() returns .........

1
0
The number of successful read input values.
ASCII value of the input read.
The actual values read for each argument.

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
↑