adplus-dvertising
frame-decoration

Question

Determine Output:
#include<stdio.h>
void 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);
}

a.

N

b.

P

c.

M

d.

None of These

Posted under C Programming

Answer: (c).M

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Determine Output:

Similar Questions

Discover Related MCQs

Q. Which of the following operator takes only integer operands?

Q. In an expression involving || operator, evaluation

I. Will be stopped if one of its components evaluates to false
II. Will be stopped if one of its components evaluates to true
III. Takes place from right to left
IV. Takes place from left to right

Q. In C programming language, which of the following type of operators have the highest precedence

Q. Which of the following comments about the ++ operator are correct?

Q. Which operator has the lowest priority?

Q. Which operator from the following has the lowest priority?

Q. Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5?

Q. Unary Operators are Operators having ____________.

Q. Which of the following operator has lowest precedence amongst all the operators ?

Q. Which of the following correctly shows the hierarchy of arithmetic operations in C?

Q. Associativity of unary operator is from _________ to __________.

Q. sizeof is an example of ____________.

Q. Which of the following are unary operators in C ?

1. !
2. sizeof
3. ~
4. &&

Q. Arrange the following operators in decreasing order of Operator Precedence.

1. Arithmetic Operator
2. Unary Operator
3. Comparison Operator
4. Shift Operator

Q. Arithmetic Operator has associtivity from ___________ to ____________.

Q. Which of the following is correct use of Conditional Operator ?

Q. In which order do the following gets evaluated in C Programming -

1. Relational
2. Arithmetic
3. Logical
4. Assignment

Q. Local Variable is having _______ scope.

Q. In order to create a local variable we need to use local keyword.
local int var;

Q. Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?