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

54544
45445
54554
45545

ANSWER DOWNLOAD EXAMIANS APP

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

garbage values
Error
0 0 0
1 1 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Size of the array need not be specified, when

Initialization is a part of definition
All of these
It is a declaratrion
It is a formal parameter

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Let x be an array. Which of the following operations are illegal?I.   ++xII. x+1III. x++IV. x*2

I, III and IV
I and II
I, II and III
II and III
III and IV

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);}

6
None of These
5
7

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The operator > and < are meaningful when used with pointers, if

None of these.
The pointers point to structure of similar data type.
The pointers point to elements of the same array.
The pointers point to data of similar type.

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
↑