Pointers in C in Hindi
Get exhaustive details about pointers in C language and their implementations in Hindi
What you learn in Pointers in C in Hindi ?
About this Free Certificate Course
The Pointer in C programming language is a variable that stores the address of another variable. Variables can be of different data types like int, array, function, array, or any other pointer. The architecture of the system defines the size of the pointers. The pointer size is 2 pointers in a 32-bit architecture.
In this Pointers in C in Hindi course, you will understand the overall concept around Pointers in the C language. The course will start by getting you introduced to Pointers and understanding how to use it by experimenting on some programming samples, and then you will look at the size of pointers. You will later get into the two essential programs on call by value and call by reference, which will give you a deep understanding of working with pointers. You will then use pointers with every other basic concept in C, such as Functions, Strings, and Arrays, and you will also understand how pointers work with these. At last, you will learn different types of pointers in C and pointer to pointer concepts and the advantages of using Pointers.
As an Ed-Tech organization, we aim to empower our learners by catering best of knowledge to help them achieve their dream careers. Great Learning offers Post-Graduate Programs in the Software Engineering domain. Explore our Software Engineering Courses by registering today and earn a degree online from renowned universities. Join us today and explore with millions of learners across the globe. Happy Learning!
Course Outline
This module will briefly describe encryption which the learners should know before diving into encryption.
A pointer is a variable that stores the address of another variable. Let's understand in detail what are pointers and how to declare them.
Pointers are used to store addresses. With the help of a program, let's understand the uses of pointers.
The size of the pointer differs based on compiler type. With help of a program, let's understand the size of pointers theoretically followed by a demo.
With the help of a program demo, let's understand how swapping is done and what is the role of pointers in doing the swapping.
Our course instructor
Mr. Bharani Akella
With this course, you get
Free lifetime access
Learn anytime, anywhere
Completion Certificate
Stand out to your professional network
1.5 Hours
of self-paced video lectures
Frequently Asked Questions
What are pointers in C?
A pointer is a variable. Unlike other variables that contain values of a particular type, they contain the address of another variable. For example, an integer variable stores an integer value, but the integer pointer stores the address of another integer variable.
How are C pointers used?
In C, pointers are used to create dynamic data structures developed from blocks of memory allocated at runtime from the heap. C handles variable parameters passed to functions using the C programming language, and it serves as an alternative to access data stored in Arrays.
What are the types of pointers in C?
The C programming language has different pointers. They include:
-
Null pointer
-
Void pointer
-
Dangling pointer
-
Complex pointer
-
Wild pointer
-
Near pointer
-
Far pointer
-
Huge pointer
What is the main use of a function pointer in C?
In C, function pointers are used to fix runtime binding. It stores the address of the function and calls it whenever needed. Function pointer, unlike other pointers, does not point to the data, but points to the code. It typically stores the start of executable code. It does not allocate memory using function pointers, and its name is also used to fetch function addresses.
What is the size of a pointer in C/C++?
Pointer size in C/C++ may vary, and it depends on different factors like operating system, CPU architecture, etc. The pointer size depends on the word size of the underlying processor. For example, in a 32-bit computer, the pointer size can be 4 bytes, and in a 64-bit processor computer, the pointer size can be 8 bytes.
Success stories
Can Great Learning Academy courses help your career? Our learners tell us how.And thousands more such success stories..
Related Courses in Hindi Courses
Popular Upskilling Programs
Explore new and trending free online courses
Great Learning Academy - Free Online Certificate Courses
Great Learning Academy, an initiative taken by Great Learning to provide free online courses in various domains, enables professionals and students to learn the most in-demand skills to help them achieve career success.
Great Learning Academy offers free certificate courses with 1000+ hours of content across 1000+ courses in various domains such as Data Science, Machine Learning, Artificial Intelligence, IT & Software, Cloud Computing, Marketing & Finance, Big Data, and more. It has offered free online courses with certificates to 10 Million+ learners from 170+ countries. The Great Learning Academy platform allows you to achieve your career aspirations by working on real-world projects, learning in-demand skills, and gaining knowledge from the best free online courses with certificates. Apart from the free courses, it provides video content and live sessions with industry experts as well.