• 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
Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program? #include\ int main(){  extern int i;  i = 20;  printf("%ld ", sizeof(i));  return 0; }

2
Linker Error : Undefined symbol 'i'
Depends on the Compiler
4

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ int const *p=5; printf("%d", ++(*p));}

5
Compiler Error
Garbage Value
6

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);}

Compiler Error
mmmm nnnn aaaa
None of These
mmm nnn aaa

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");}

Error
I hate Examians
None of These
I love Examians

ANSWER DOWNLOAD EXAMIANS APP
  • «
  • 1
  • 2
  • 3
  • ...
  • 42
  • »

GO TO PAGE

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
↑