What does * mean when I use it in C language?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Best tutor for C++ classes in India

* has many meanings based on where it is used in C lanugage. If you are declaring a variable using *, then it means you are creating a pointer varaiable. If you are using * in a statement before a variable, it means you are de-referencing a pointer variable.If you are using * between two compatible variables,...
read more
* has many meanings based on where it is used in C lanugage.If you are declaring a variable using *, then it means you are creating a pointer varaiable.If you are using * in a statement before a variable, it means you are de-referencing a pointer variable.If you are using * between two compatible variables, then you are trying to do multplication.Same operator has mutliple uses based on how it is used. read less
Comments

Learn from me and get Job ready in IT field

* simply means pointer in C languageSo whatever variable you are declaring in C, if you write * before the variable name, so it becomes the pointer variable and it has the potential to store address of another variable
Comments

IT Trainer with International experience in teaching

* in c language means it's a pointer variable. In general a variable can store values whereas pointer variables used to store memory address of a another variable.
Comments

View 1 more Answers

Related Questions

What is the difference between #include and #include" "
first one is used for predefined header files.. and second is used for user defined header files
Priya
1 0
6
How do I write code in C programming that will invert a string like "Welcome to programming" to “gnimmargorp ot emocleW”?
void main() { char msg = "Welcome to Programming"; char str; int i = 0, j = 0; clrscr(); while (msg != '\0') { if (msg != ' ') { str = msg; j++; ...
Mukul
What is the structure of a C program?
A basic structure of a C program typically consists of: 1. **Preprocessor Directives:** These are lines of code that begin with a `#` symbol. They are instructions to the compiler to include certain...
Snehal
0 0
5
hi guyz! i am dng my 2nd yr in engg n i wanna strengthen my C n C++ prgmmng skills........which s d best way for it?? can u suggest me sum gud books to refer??
you can study the online websites and also solve the output,error oriented program in LET US C book by yaswant
Logeshwari

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Find out the Output of the following with reason and get C Language Training fess less by 10%
1. void main() { clrscr(); printf(5+"Beautifull"); getch(); } 2. void main() { int a=50; clrscr(); ...

Swapping variable contents using C
/* WAP to swap the content of variables using C*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ //Variable declaration of type integer int a,b,c; //function...

C Programming basics
C PROGRAMMING BASICS 10 Hours Introduction to ‘ C’ programming –fundamentals – structure of a ‘C’...
O

Om K.

0 0
0

Basic Concepts of Web Designing
An introduction to domain names, web servers, and website hosting 1)What is the web? In a nutshell, the web is a whole bunch of interconnected computers talking to one another. The computers (on the...

C Program-Vowels and Consonants
/*WAP to print the character entered by user is a vowel or consonant*/ //Header files #include<stdio.h>#include<conio.h> //Main functionvoid main(){ char c; //Function for clearing screen...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you