You are not logged in.

#1 2017-07-31 07:10:11

Ibraheem
Webmaster
From: Capital
Registered: 2012-03-16
Posts: 22,981
Website

C / C++ Programming Language Quiz Question.

Programming Languages Quizzes C / C++ Programming Language

Question:
If p and q are assigned the values 2 and 3 respectively then the statement p = q++

Option A):
assigns a value 3 to p
Option B):
assigns a value 5 to p
Option C):
assigns a value 4 to p
Option D):
gives an error message

Correct Answer is Option A):
assigns a value 3 to p

2017-07-31 07:10:11

Advertisement
Ads By Google

Re: C / C++ Programming Language Quiz Question.



Board footer