• 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 not; not = !2; printf("%d", not);}

2
None of These
Garbage Value
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }}

three
Error
None of These
zero

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the maximum number of dimensions an array in C may have?

2
20
50
8
Theoratically no limit. The only practical limits are memory size and compilers.

ANSWER DOWNLOAD EXAMIANS APP

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

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

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 and II
I, III and IV
II and III
I, II and III
III and IV

ANSWER DOWNLOAD EXAMIANS APP

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

1 1 1
0 0 0
Error
garbage values

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
↑