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

C machine independent Programming Language? C is portable . Means What?
It can work on various hardware configuration . C doesnt require mandatory or same set of hardware to run program. A program can written on one comp. And can run on other comp.(machine)
Shiva
What is the difference between #include and #include "file" ?
#include is meant for including standard library files, where as #include "" is for the local/ custom header files.
Kajol
What is the difference between text and binary modes?
FILE WHEN SAVED IN TEXT MODE ON HARD DISK IS READABLE BUT WHEN SAVED IN BINARY MODE IS NOT READABLE IT IS SAVED IN BINARY FORMAT
Raj

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

Ask a Question

Related Lessons

Operators in C
Operators in C Operator: An operator is a symbol that tells the compiler to perform certain mathematical or logical calculations. Operators are used in programs to manipulate data and variables. The...

Some interview questions for freshers on C language
Q1. What are the two forms of #include? There are two variants of #include. The one is #include and the other one is #include”file”. In general the first form that is #include is used to...

C Program-Prime Number
/*WAP to print a number entered by the user is prime or not*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ int num,i; //Function for clearing screen clrscr();...

Basics Of C And C++
C++ is powerful, highly flexible, and adaptable programming language that allows software engineers to organise and process information quickly and effectively. But this high-level language is relatively...

Some Tricky Questions in C
Can you write two functions in which one executes before main function and other executes after the main function? #pragma startup #pragma exit Where, priority is optional integer value.For user priority...

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