Posts

EXERCISE 01 Complete Solved LET US C by Yashwant Kanetkar

Image
Let Us C by Yashwant Kanetkar   Solution By   Muhammad Kaleem UIlah                                           LET US C                                      EXERCISE 01 [A] Which of the following are invalid variable names and why? ·          //Space is also not allowed in “C” Variables ·          //There should be no other symbol then underscore group. basic-hra, #MEAN, team’svictory, queue. Plot # 3, population in 2006 , over time, [B] Point out the errors, if any, in the following C statements:       (a)- A float value is being used in the integer variable.       (b)& (c)- To initialized value in the character variable double quotation are used.       (d)- Variable name should be in the left side while initializing it’s value. (e)- Brackets are not logically closed.        (f)- Variable names are not properly declared;        (g)- This is a fine statement.        (h)- Double “**” is being used.        (i)- ^ operation is being used in the arithmeti