• 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(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here}

1
10
Garbage Value
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();}

None of These
5 5 5 5 5
5 4 3 2 1
Infinite Loop

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);}

%d\n
Error
300
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
An array elements are always stored in ________ memory locations.

Sequential and Random
Sequential
Random
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ printf("%p", main);}

make an infinite loop
None of These
Some address will be printed
Error

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?

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

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
↑