what are the stoge class in C and tel the scope and life time
of it?
Answers were Sorted based on User's Feedback
Answer / anudeep gongadi
1.automatic: the scope is within the function
2.extern: if variable is declared with extern, then that
variable is there in another program.and it can be used in
current program.
3.static: they are initialised only once.
4.register: limited memory is reserved for registers.
for faster access off data and computations, we mae use of
registers.
| Is This Answer Correct ? | 8 Yes | 2 No |
4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.
What is undefined behavior?
Tell me when is a void pointer used?
What is 02d in c?
What is static memory allocation?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
Explain the process of converting a Tree into a Binary Tree.
program to print circle structure
How many levels of indirection in pointers can you have in a single declaration?
0 Answers Agilent, ZS Associates,
#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } Find the output
cavium networks written test pattern ..