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

0
10
14
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is the correct way of declaring a float pointer:

float ptr;
*float ptr;
float *ptr;
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);}

3 8
None of these
8 3
7 3
3 7

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
Error
0 0 0
garbage values

ANSWER DOWNLOAD EXAMIANS APP

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

55445
54554
45545
54544

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);}

void fun(int p[][4]){}
void fun(int *p[4]){}
void fun(int *p[3][4]){}
void fun(int *p[][4]){}
None of these

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
↑