خرید بک لینک

Vote count: 0

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?

asked 38 secs ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 23 تير 1395 ساعت: 0:39

صفحه بندی