• 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
What is the output of the following statements?int i = 0;printf("%d %d", i, i++);

1 0
0 1
0 0
None of these
1 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);}

None of these
Exam Veda
Veda
Exam
Exam\0Veda

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);}

1
10
14
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which command is used to skip the rest of a loop and carry on from the top of the loop again?

continue
None of these
skip
resume
break

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

rem = 3.14 % 2.1;
rem = fmod(3.14, 2.1);
rem = modf(3.14, 2.1);
Remainder cannot be obtain in floating point division.

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
↑