• 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 far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));}

4..4
4..2
2..4
2..2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Comment on the following?const int *ptr;

We cannot change the pointer ptr itself.
Both of the above
We can change the pointer as well as the value pointed by it.
We cannot change the value pointed by ptr.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following function is used to find the first occurrence of a given string in another string?

strrchr()
strchr()
None of these
strstr()
strnset()

ANSWER DOWNLOAD EXAMIANS APP

C Programming
For 16-bit compiler allowable range for integer constants is ________?

-3.4e38 to 3.4e38
-32767 to 32768
-32768 to 32767
-32668 to 32667

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);}

2, 1, 15
1, 2, 5
2, 3, 20
3, 2, 15

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following statements?int i = 0;printf("%d %d", i, i++);

None of these
1 0
0 0
1 1
0 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
↑