- This topic has 1 reply, 2 voices, and was last updated 8 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Miscellaneous › Others › c
#include<stdio.h>
main()
{
char s[]={'a','b','c','','c',''}
char *p,*str,*str1;
p=&s[3];
str=p;
str1=3;
pf("%d",++*p+++*str1.32);
}
friends give me output by GCC compiler and how can i rectify those…………..
Hi,
Line 8: Constant cannot be assigned to the pointer
In printf you have mentiond .32 it will throw an error
To get an output the above code can be rewritten as