C Programming - Strings - Discussion
Discussion Forum : Strings - Find Output of Program (Q.No. 12)
12.
What will be the output of the program ?
#include<stdio.h>
#include<string.h>
int main()
{
static char s[] = "Hello!";
printf("%d\n", *(s+strlen(s)));
return 0;
}
Discussion:
38 comments Page 4 of 4.
Harshada said:
1 decade ago
Thank you dipankar.
Nagababu said:
1 decade ago
Thank you dipankar.
Jibon said:
6 years ago
Thanks @Dipankar.
Shankra said:
1 decade ago
Thanks dipankar.
Sadanand said:
1 decade ago
Thanks priyanka.
Neha said:
1 decade ago
Thanks priyanka.
Buela said:
8 years ago
Thanks @Musaraf.
Reema ali said:
1 decade ago
Thanks musaraf.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers