• 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
Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);}

65 65
Syntax error
53 65
065 65
053 65

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?

resume
skip
continue
break
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");}

Forget it
Error
None of These
Ok here

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The library function used to find the last occurrence of a character in a string is

strrchr()
laststr()
None of these
strstr()
strnstr()

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is a complete function?

None of these
int funct();
int funct(int x) { return x=x+1; }
void funct(int) { printf(“Hello"); }
void funct(x) { printf(“Hello"); }

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char not; not = !2; printf("%d", not);}

2
0
None of These
Garbage Value

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
↑