promotion image of download ymail app

in c programming what do this statement mean:- int * ?

i know if we use " int *p " that means it is a pointer.

but what int * means. and when do we use this.

3 Answers

  • 1 decade ago
    Favorite Answer

    here * denotes that it is not a normal variable like any other variables it holds an address of a int variable

    pointers can be used in case if ur program uses printers.........

    and dynamic programs also use pointers............

    pointers are so usefull

    may be ur new to programming

    if u have any doubts aske me online

    My yahoo ID is

    • Commenter avatarLogin to reply the answers
  • 4 years ago

    You need to read up on C a bit more - int is one of the built-in data types in C and it is a signed integer. When you see "int main" you are declaring that the int function returns a value of type int.

    • Commenter avatarLogin to reply the answers
  • 1 decade ago

    most programing languages have a structure to how to code stuff.

    in c programming and many others you specify variables by first given then a type say 'int' then the variable name say 'p' then you assign it a value if you want. in this case ('int *') will indicate that the variable will be an integer pointer. But if you just leave 'int*' by itself withouth giving it a variable name. it won't compile and you get a compiler error.

    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.