• 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?

efg
defg
fg
bcdefg
cdefg

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); }

None of these.
H
Some address will be printed
Hello

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));}

6
None of these
7
4
5

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);}

5
6
None of These
7

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program. void main() { int i=01289; printf("%d", i); }

0289
1289
713
Syntax error
0713

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char not; not = !2; printf("%d", not);}

None of These
2
0
Garbage Value

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
↑