• 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
char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above?

defg
efg
fg
cdefg
bcdefg

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following statements?int i = 0;printf("%d %d", i, i++);

None of these
0 1
1 0
0 0
1 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));}

-10 to 0
-10 to -1
Complier error
-10 to infinite

ANSWER DOWNLOAD EXAMIANS APP

C Programming
In C programming language, which of the following type of operators have the highest precedence

Arithmetic operators
Relational operators
Equality operators
Logical operators

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?

arr[6]
None of these
arr{7}
arr{6}
arr[7]

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which one of the following is not a reserved keyword for C?

case
register
auto
main
default

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
↑