edited by
994 views
3 3 votes

Answer given is option C. 

How ?

I gather that the character pointer will point to the first byte of the integer whose value is 255.

But after that what should be the solution ?

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
1 1 answer
1.9k
1.9k views
Manu FG asked May 21, 2017
1,945 views
/*strcpy"copy t to s; */void strcpy(char *s, char *t){while((*s++=*t++) !='\0');} Can anyone explain how *s++ or *t++ is being executed. As * and ++ are unary operators h...
1 1 vote
0 0 answers
1.9k
1.9k views
Aibi asked Oct 30, 2017
1,861 views
What is the output of below code considering the size of short int is 2, char is 1 and int is 4 bytes.#include<stdio.h>main(){short int i = 20;char c = 97;printf("%d, %d,...
7 7 votes
1 1 answer
218
218 views
GO Classes asked Jun 6
218 views
What is the output of the following code?#include <stdio.h void change(int *p, int *q) { *p = *p + 4; *q = *p + *q; p = q; *p = *p - 3; } int main() { int a = 6, b = 10; ...
8 8 votes
1 1 answer
261
261 views
GO Classes asked Jun 19
261 views
What is the output of the following code?#include <stdio.h void fun(int a[], int *p) { a = a + 5; *(p + 2) = *(p + 2) + 10; p++; *p = *p + 1; } int main() { int arr[] =...