• 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(){ int i=5, j=6, z; printf("%d", i+++j);}

11
13
12
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;}

9
None of these
Error
5
6

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following function is used to find the first occurrence of a given string in another string?

None of these
strstr()
strnset()
strrchr()
strchr()

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is a complete function?

void funct(x) { printf(“Hello"); }
int funct();
None of these
int funct(int x) { return x=x+1; }
void funct(int) { printf(“Hello"); }

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);}

None of These
P
N
M

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
↑