Scanf function in C language | Part 5= total programming,C language

                                                   Scanf  function in C language

                                                 

*SCAN F=

            DEFINITION = Scanf function allows the users to put the value for their data in run time.

            SYNTAX = scanf("format string",argument_list); 

            EXAMPLE =

               #include<conio.h>

               #include<stdio.h>    

               void main()

               {    

                        int number;    

                        printf("enter a number:");    

                        scanf("%d",&number);    

                        printf("cube of number is:%d ",number*number*number);     

                 }


My YouTube related to scanf ,please watch=


                                                                                                                  

1 comment:

Break and Continue in C language | part 9 =total programming

                           C break and continue Hello Guys, in this post I am going to show you C Break and Continue, So, Let get started = ...