C eXpLoReRs
int x, y;
class BixTest
{
public:
BixTest(int xx = 0, int yy = 0)
{
x = xx;
y = yy;
Display();
}
void Display()
{
cout
int main()
{
static char s[25] = "The co***ne man";
int i=0;
char ch;
ch = s[++i];
printf("%c", ch);
ch = s[i++];
printf("%c", ch);
ch = i++[s];
printf("%c", ch);
ch = ++i[s];
printf("%c", ch);
return 0;
}
Predict the output of the following code:
int main()
{
int a[5]={5,1,15,20,25};
int i,j,m;
i=++a[1];
j=a[1]++;
m=a[i++];
printf("%d %d %d\n",i,j,m);
return 0;
}
Click here to claim your Sponsored Listing.
Category
Contact the school
Address
PANJAB UNIVERSITY, PUSSGRC, Hoshiarpur
Chandigarh
146001