Electronics and Communication Engineering - Microprocessors - Discussion
Discussion Forum : Microprocessors - Section 5 (Q.No. 44)
44.
Consider the following in C
The values stored in computer memory for k and a are respectively
int k
float a ;
k = 4.2
a = 300
The values stored in computer memory for k and a are respectively
Discussion:
2 comments Page 1 of 1.
Usha said:
1 decade ago
Integer should not contain decimal and float must be expressed in decimal.
Surekha said:
9 years ago
K is an integer variable because the decimal point not allowed k=4 and a is real variable because decimal point allowed a=300.00.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers