• 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:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());}

100
0
Error
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is right way to Initialize array?

int n{6} = { 2, 4, 12 };
int num[6] = { 2, 4, 12, 5, 45, 5 };
int n(6) = { 2, 4, 12, 5, 45, 5 };
int n{} = { 2, 4, 12, 5, 45, 5 };

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC");

-1
0
1
Compilation Error
33

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The statement int **a;

is syntactically and semantically correct
None of these.
is illegal
is legal but meaningless

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program. void main() { int i=01289; printf("%d", i); }

Syntax error
1289
0289
0713
713

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 = fmod(3.14, 2.1);
Remainder cannot be obtain in floating point division.
rem = 3.14 % 2.1;
rem = modf(3.14, 2.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
↑