Pages
Assignment
Synopsis
C
Graphics
Compiler
C#
DCN
DBMS
Discrete Math
DS
IT Fun
Java
Json
NIELIT
Notes
Office
OOPS
OS
PHP
Project
Phython
Question
SSAD
Web
UGC Net
VB
ASP
Tuesday, 8 May 2018
Rules to declare a valid variable
List out the rules to declare a valid variable in ‘C’ program. Evaluate the following expression and show the hierarchy of operations:
( 2 + 4 ) / 3 + 2%3 * 2 – 5
Solution :
Read List out the rules to declare a valid variable
Expression Solve Steps
(2+4)/3+2%3*2-5
6/3+2%3*2-5
2+2%3*2-5
2+2*2-5
2+4-5
6-5
1
Next Question
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment