@laserlight sorry to mix up ur concept with what i have learned about storage classes ... I normally see the variables in the form of SCOPES and duration.. The main has got BLOCK SCOPE according...
Type: Posts; User: phanideepak007
@laserlight sorry to mix up ur concept with what i have learned about storage classes ... I normally see the variables in the form of SCOPES and duration.. The main has got BLOCK SCOPE according...
I made few changes to your program such that u can understand the concept better.. The 'i' in function has function scope(constrained to fucntion) and 'i' in main has block scope(Constrained to...
U should also use conversion specifiers with scanf() if then ur output looks as u intended to be ...
like this :
scanf("%d",&nu);
scanf("%d",&num);
the printf() function uses the % symbol to identify the conversion specifications, there is a slight problem if you want to print the % sign itself. If you simply use a lone % sign, the compiler...
Thanks a ton..!! Its all clear now ... :) That is what happening in source file ... :)
Many Thanks ... !!! Will look into it...:)
Hi All,
Can we use structure or function or variable written in a header into another header without including name of header of which we are going to use the struc or func or variable of that...