Welcome to your C Language-IV DATE:April 14, 2024

Name of Student

1.What happend if we can not initilize the variable

2.What happen if we can not initialize the the constant

3.Identify the operator
Variable = (Expression)? true value: false value;

4.How many times the loop will execute
int i=10;
do {

}while(i<10);

5.How many time the loop wil execute
int i=10;
while(i<10)
{

}

6.which of the followin is not a storage data type

7.Which if the following is a storage class type

8.what is the output
void main()
{
int a=5,*pt; //Assume the address of a is 7098
pt=&a;
printf("%u",pt)
}

9.what is the output
void main()
{
int a=5,*pt; //Assume the address of a is 7098
pt=&a;
printf("%d",*pt)
}

10.what is the output
void main()
{
int a=5,*pt; //Assume the address of a is 7098
pt=&a;
printf("%u",&a)
}

11.what is the output
void main()
{
int a=5,*pt; //Assume the address of a is 7098
pt=&a;
printf("%u",**pt)
}

12.what is the output
void main()
{
int a=5,*pt; //Assume the address of a is 7098
pt=&a;
printf("%d",*(&a));
}

13.What is the range of unsigned int variable

14.What is the range of unsigned int datatype

15.which of the following data type does not require 4 byte in memory

16.Which iof the followin is require only one byte

17.main( )
{
float a=10.3;
float *b;
b=&a;
/*address of a=1500 */
printf("\n%u%u",&a,b);
}

18.main( )
{
int i=2;
int *j; /* address of i=2645 &
j=&i address of j=2670 */
printf("\n%u",&i);
printf("\n%u",j);
}

19.The library function _____ is used to open the file.

20.Which keyword is used to define structure?

21.main( )
{ int i=3;
int *j,**k;
/* address of i=3456, j=&i; address of j=2976, k=&j; address of k=1200 */
printf("\n%d%d",*j,**k);
}

22.Which extension is used for c program file

23.How many decimal places are displayed when a number has a conversion specification of %f

24.Which is modulus operator from

25.If an array has storage class as static then all the array elements would have the default initial value as zero(0).

Add a Comment

Your email address will not be published. Required fields are marked *