Welcome Guest | Sign in | Register
Defining Variables - Discussion Page For Q.10624 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Defining Variables > Questions and Answers

Q: What will be output of the following c program?
#include "stdio.h"
int main()
{
int _ = 5;
int __ = 10;
int ___;
___ = _ + __;
printf("%i", ___);
return 0;
}
A. 5 B. 10
C. 15 D. Compilation Error

Answer and Explanation

Answer:15

Explanation:
Variable name can have only underscore

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.