• 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(){ char *p; p="Hello"; printf("%c", *&*p);}

Some Address will be printed
None of These
H
Hello

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);}

1
no error no output
0
complier error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Size of the array need not be specified, when

Initialization is a part of definition
It is a formal parameter
It is a declaratrion
All of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following function calculates the square of 'x' in C?

power(x, 2)
sqr(x)
pow(2, x)
pow(x, 2)
power(2, x)

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);}

Error
0 0 0
garbage values
1 1 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What does the following declaration mean?int (*ptr)[10];

ptr is an pointer to array
ptr is array of pointers to 10 integers
ptr is an array of 10 integers
ptr is a pointer to an array of 10 integers

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
↑