37. | extern int s; int t;
static int u;
main ( )
{ }
which of s, t and u are available to a function present in another file ?
|
|||||||
|
38. | What will be output of following program? #include
#include
int main(){
int register a;
scanf("%d",&a);
printf("%d",a);
return 0;
}
//if a=25
|
|||||||
|
39. | What will be output of following program? main()
{
extern int i;
i=20;
printf("%d",sizeof(i));
}
|
|||||||
|
40. | What is the output of following? main( )
{
extern int fun(float);
int a;
a=fun(3.14);
printf("%d",a);
}
int fun(aa)
float aa;
{
return((int)aa);
}
|
|||||||
|
41. | What will be the value of i and j in the following code ? main( )
{
auto int i,j=6;
printf("%d%d",i,j);
}
|
|||||||
|
42. | What different values of " i " following code prints ? int i;
main( )
{
printf("%d",i);
increment( );
decrement( );
}
increment( )
{
i++;
printf("%d",i);
}
decrement( )
{
i--;
printf("%d",i);
}
|
|||||||
|
« previous
1
2
3
4
5
6
7
8
9
...next »