• 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(){ extern int i; i=20; printf("%d", sizeof(i));}

Compiler Error
Linker Error
2
20

ANSWER DOWNLOAD EXAMIANS APP

C Programming
char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above?

defg
fg
bcdefg
cdefg
efg

ANSWER DOWNLOAD EXAMIANS APP

C Programming
In which stage the following code#includegets replaced by the contents of the file stdio.h

During linking
During Execution
During Editing
None of these
During Preprocessing

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Array passed as an argument to a function is interpreted as

Address of the array.
Number of element of the array.
Address of the first element of the array.
Values of the first elements of the array.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The declarationint (*p) [5];means

None of these.
p is a pointer to a 5 elements integer array.
The same as int *p[
p is one dimensional array of size 5, of pointers to integers.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which one of the following is not a valid identifier?

1examians
examians1
exam_veda
_examians

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
↑