• 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
int a[5] = {1,2,3}What is the value of a[4]?

1
3
0
2
Garbage Value

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));}

2 2
1 1
1 2
2 1

ANSWER DOWNLOAD EXAMIANS APP

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

A compiler
None of these.
An Editor
An operating system

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }}

Error
None of These
10 20 30 40 50 Garbage Value
10 20 30 40 50 10 20 30 40 50

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The type of the controlling expression of a switch statement cannot be of the type ........

short
int
long
float
char

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
↑