Computer Science, asked by paridasurabi220, 10 months ago

#include
int main (int argv, char* argc[ ])
{
int x=280;
char*ptr_p=(char*) &x;
printf("%d\n",*ptr_p);
return 0;
}
what is the output

Answers

Answered by Swarup1998
6

C programming.

  • C is a computer programming language, where we give defined commands with structures and it gives us an output.

Given programming.

#include <stdio.h>

int main (int argv, char* argc[])

{

    int x = 280;

    char* ptr_p = (char*) &x;

    printf("%d\n", * ptr_p);

    return 0;

}

Output: 24

Answer. option a) 24 is correct.

Attachments:
Similar questions