Question: What gets printed? #include int main() { } char text [4]; text [0] = 's'; text [1] = 'u'; text [2] = 'n'; text
![What gets printed? #include int main() { } char text [4]; text](https://dsd5zvtm8ll6.cloudfront.net/questions/2024/05/66349b88f123a_1714727204406.jpg)
What gets printed? #include int main() { } char text [4]; text [0] = 's'; text [1] = 'u'; text [2] = 'n'; text [3] = '\0'; printf("%s", text);
Step by Step Solution
3.37 Rating (147 Votes )
There are 3 Steps involved in it
include stdio h int main char text4 declares a char array of size 4 characte... View full answer
Get step-by-step solutions from verified subject matter experts
