Computer Science, asked by sumit95138118, 1 year ago

What kind of program elements are the following: 13,'a',4.38925,''a"",main( ) ?​

Answers

Answered by pckhushank
171

Answer:

13: is a example for integer literal ,

‘a’: is a example for character literal,

4.38925: is a example for floating literals in fractional form,

“a”: is a example for String,

main(): is a function

Explanation:

i hope it helped you

Answered by qwsuccess
44

13 : integer data type denoted by int

       size = 2 or 4 bytes (depending upon the OS)

'a' : character data type  denoted by char

      size = 1 byte

4.38925 : decimal integer data type denoted by float

               size = 4 bytes

               default precision is upto 7 decimal points

"a" : string- array of characters with char data type  

       size = No. of characters + 1

main() : It is a user-defined function with pre-defined function prototype  

            (function declaration)

             It is the starting point of any C program.

Similar questions