• 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
What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));}

1 1
2 1
1 2
2 2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
C programs are converted into machine language with the help of

None of these.
An operating system
A compiler
An Editor

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);}

12
14
13
11
Compilation error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following comments about the ++ operator are correct?

All of these
It cannot be applied to an expression
The operand can come before or after the operator
It associates from the right
It is a unary operator

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The operator > and < are meaningful when used with pointers, if

The pointers point to elements of the same array.
The pointers point to data of similar type.
None of these.
The pointers point to structure of similar data type.

ANSWER DOWNLOAD EXAMIANS APP

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

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

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
↑