#31 *String* %c & %s use different in code for beginners #c #codes #code #shorts (cmd check)

preview_player
Показать описание
The code is in comments box and telegram channel (follow )

string:
%c and %s are different use in c code.

contact:

instagram id:

telegram link:

C programming telegram channel:

C++ program telegram channel:

facebook id: Sayani Mondal

Gmail contact:

photography instagram account:
@sayani_9836
Рекомендации по теме
Комментарии
Автор

#include<stdio.h>

#include<string.h> //string header file
//use string
int main()
{
printf("\t Tuni Technical Hacker \n");
printf("\n");

char nam[]= "Tuni";
char *r = nam;
while(*r!= '\0'){
printf("%c", *r); // "%c" use
*r++;
}

printf("\n");

char tec[]= "Technical";
printf(" %s ", tec); // "%s" use



return 0;
}

TuniTechnicalHacker
Автор

the code is in comments box and telegram channel (follow )

TuniTechnicalHacker
join shbcf.ru