In which memory segment is the string Hello in the following program:
#include<stdio.h>
int main()
{
printf("Hello");
retu 0;
}
Is it stored on the stack or in the text segment?
I think that it is stored in the text segment because the string Hello is not declared as an actual variable, and printf is the only statement.
Is it in the text segment?
