int main()
{
int i,j,*ptr,*ptr1;
i=10;
j=10;
ptr=&i;
ptr=&j;
if(ptr==ptr1)
{
printf("True");
}
else
{
printf("False");
}
}
1
False
Compile error
No output
const int *ptr;
You cannot change the value pointed by ptr
You can change the value of the pointer
You can change the pointer as well as the value pointed by it
None of these
#include
void main()
{
int a;
a='a'>'A';
printf("%d", a);
getch()
}
Null
Error
0
1
int main(int argc, char *argv[]
int main(int argc)
int main(char *argv[])
int main(char *argv[], int argc)
Disk
Stack
Heap
OS
Condition? true value:false value
Condition! true value:false value
Condition? false value:true value
Condition? true value::false value
To get the current file name
To get the current file status
To get the current file attributes
To get the current file position
#include
int main()
{
float f=0.1;
if(f==0.1)
{
printf("NO");
}
return 0;
}
No output
NO
Successfully compiled but no output
Error
strptr()
strcpy()
strlen()
strupr()
0 Comments