C is a relatively small language.
C's small, unambitious feature set is a real advantage. There's less to learn;
there isn't excess baggage in the way when you don't need it.
I…
int main()
{
char ch;
do
{
printf("Hello world\n");
printf("Do you want to print it again?Enter y for yes/n for no.\n");
scanf("%c",&ch);
}while(ch=='y');
…
Please put your queries, doughts, clarifications or suggestions for Session: 07.ControlStructures_LoopsAndIterations and 08.ControlStructures_LoopsAndIterations here...
All queries, discussions, updates and clarifications related to...Session 14,16,18,19.Structured Programming Using Functions And Pointersshould be posted here.
gets always shows the warning because it,s takes always more than given space so unused space is waste in gets but fgets not take more than declayred space.but if we don,t know the size of data th…
we know in gcc the the size of int is 4 bytes and we want to print the individual bytes of it ....eg. like if we have a integer variable (unsigned int a=256) the equivalent binary representation is (…
it is easy to find the length of string since there is a null character' \0' at the end of string..but in the array of integer there is no such null characcter ..then how can we program to …