Hi there ! I am Chinmay Garud . In this blog we would be doing some basic and easy programs using Embedded C . If you like it please do share it with your friends and family. I'd be grateful for any comments or suggestions you might have
134. Difference between character array and string.
Get link
Facebook
X
Pinterest
Email
Other Apps
#include<stdio.h>
char
a[]={'a','b','c','d'};
char
s[]="abcd";
void
main()
{
printf(" Size of a = %ld \n Size of s
= %ld ", sizeof(a),sizeof(s));
Comments
Post a Comment