• 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
bcdefg
fg
defg
cdefg

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);}

hello 5
None of These
hello garbage value
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i);

Syntax error
0123456789
0
10
Infinite loop

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50}

10..50
10..10
Error
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
C was primarily developed as

General purpose language
None of these
Data processing language
System programming language

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
↑