• 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(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);}

55445
54544
45545
54554

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));}

sizeof(i)=2
Compiler Error
None of These
sizeof(i)=1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following function is more appropriate for reading in a multi-word string?

scanf()
None of these
puts()
printf()
gets()

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

NOITANIMAXE
Syntax error
No output at all.
C
NOITANIMAXE C

ANSWER DOWNLOAD EXAMIANS APP

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

9
11
10
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);}

i = -1, +i = 1
i = 1, +i = 1
None of These
i = -1, +i = -1

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
↑