UrbanPro
true

Learn C Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Learn C Language with Free Lessons & Tips

Ask a Question

Post a Lesson

All

All

Lessons

Discussion

Answered on 04 Jun Learn C Language

Ashwin Kumar K

A Ugc Net Certified Tutor

By using pow() function #include <math.h>#include <stdio.h>int main() { double base = 6.0; double exp = 13.0; double result = pow(base, exp); printf("%.1lf^%.1lf = %.2lf", base, exp, result); return 0;}
Answers 5 Comments
Dislike Bookmark

Answered on 09 May Learn C Language

Sana Begum

My teaching experience 12 years

In C programming, functions are blocks of code that perform a specific task. They allow you to break down your program into smaller, reusable pieces, making your code more modular and easier to understand. Here are some key points about functions in C: 1. **Function Declaration**: Functions in C are... read more
In C programming, functions are blocks of code that perform a specific task. They allow you to break down your program into smaller, reusable pieces, making your code more modular and easier to understand. Here are some key points about functions in C: 1. **Function Declaration**: Functions in C are declared using a syntax that specifies the return type, function name, and parameters (if any). For example: ```c int add(int a, int b); ``` 2. **Function Definition**: The actual implementation of a function is called its definition. It includes the function header (return type, name, and parameters) followed by the function body enclosed in curly braces `{}`. For example: ```c int add(int a, int b) { return a + b; } ``` 3. **Return Type**: Functions in C can return a value using the `return` statement. The return type specifies the type of value that the function will return. If a function does not return a value, its return type is `void`. 4. **Parameters**: Functions can take zero or more parameters, which are variables passed to the function when it is called. These parameters are used by the function to perform its task. For example: ```c int add(int a, int b) { return a + b; } ``` 5. **Function Call**: To use a function in C, you need to call it by its name followed by parentheses `()`. If the function takes parameters, you pass values inside the parentheses. For example: ```c int result = add(5, 3); ``` 6. **Function Prototypes**: In C, it's a good practice to declare a function before calling it. This declaration is called a function prototype and typically includes the return type, function name, and parameter types. For example: ```c int add(int a, int b); ``` 7. **Function Overloading**: Unlike some other programming languages, C does not support function overloading, where you can define multiple functions with the same name but different parameter lists. In C, each function must have a unique name. 8. **Recursive Functions**: C supports recursive functions, which are functions that call themselves. This feature is useful for solving problems that can be broken down into smaller, similar subproblems. Functions are fundamental building blocks in C programming, allowing you to write code that is more organized, modular, and reusable. read less
Answers 5 Comments
Dislike Bookmark

Answered on 13 Jun Learn C Language

Savita

IT professional trainer with experience in IT industry as well as teaching experienced

c 1. header in c is stdio.h 2. data and functions are separated. (data is raw fact , function is set of instructions ) 3. follows top down approach . c++ 1. the header in c++ is IOSTEAM.h 2. data and functions are encapsulated (bind). 3.follows a bottom -up approach for... read more

c

1. header in c is stdio.h

2. data and functions are separated. 

(data is raw fact , function is set of instructions )

3. follows top down approach .

c++

1. the header in c++ is IOSTEAM.h 

2. data and functions are encapsulated (bind).

3.follows a bottom -up approach 

 

 

for more info follow me 

read less
Answers 4 Comments
Dislike Bookmark

Learn C Language from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 09 May Learn C Language

Sana Begum

My teaching experience 12 years

In C language, " " represents the newline character. It's used to move the cursor to the beginning of the next line when printing output to the console. This helps in formatting output neatly and making it more readable.
Answers 4 Comments
Dislike Bookmark

Answered on 09 May Learn C Language

Sana Begum

My teaching experience 12 years

In C programming, the "#" symbol is used in preprocessor directives to indicate a command or action that should be performed before the compilation process. For example, "#include" is used to include header files, "#define" is used to define macros, and "#ifdef" is used for conditional compilation. These... read more
In C programming, the "#" symbol is used in preprocessor directives to indicate a command or action that should be performed before the compilation process. For example, "#include" is used to include header files, "#define" is used to define macros, and "#ifdef" is used for conditional compilation. These directives help in manipulating the source code before it's compiled. read less
Answers 4 Comments
Dislike Bookmark

Answered on 13 Jun Learn C Language

Savita

IT professional trainer with experience in IT industry as well as teaching experienced

c programming is used in network drivers , scientifics systems , databases , langage interpreters , text editors .
Answers 4 Comments
Dislike Bookmark

Learn C Language from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 10 May Learn C Language

Manisha Rochani

Teacher

The "\r" character in C programming language is known as "Carriage Return", which helps in moving the cursor to the beginning of the current line without advancing or jumping to the next line.
Answers 4 Comments
Dislike Bookmark

Answered on 14 May Learn C Language

Suneha D.

Confident and efficient C language tutor

If this is the first language you are learning then it's a little challenging to grasp and remember everything but if you understand everything then it will be easy for you.
Answers 4 Comments
Dislike Bookmark

Answered on 07 May Learn C Language

Sana Begum

My teaching experience 12 years

Pointers in C are variables that store memory addresses as their values. They are powerful tools that allow direct manipulation of memory locations, enabling efficient memory management and access to data. With pointers, you can: 1. Access and modify data indirectly. 2. Dynamically allocate memory. 3.... read more
Pointers in C are variables that store memory addresses as their values. They are powerful tools that allow direct manipulation of memory locations, enabling efficient memory management and access to data. With pointers, you can: 1. Access and modify data indirectly. 2. Dynamically allocate memory. 3. Implement data structures like linked lists, trees, and graphs. 4. Pass arguments by reference to functions. 5. Work with arrays more efficiently. However, they also require careful handling to avoid common pitfalls like segmentation faults and memory leaks. read less
Answers 4 Comments
Dislike Bookmark

Learn C Language from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 13 Jun Learn C Language

Savita

IT professional trainer with experience in IT industry as well as teaching experienced

100 programs .
Answers 4 Comments
Dislike Bookmark

About UrbanPro

UrbanPro.com helps you to connect with the best C Language Classes in India. Post Your Requirement today and get connected.

Overview

Questions 1.6 k

Lessons 88

Total Shares  

+ Follow 100,007 Followers

Top Contributors

Connect with Expert Tutors & Institutes for C Language

x

Ask a Question

Please enter your Question

Please select a Tag

X

Looking for C Language Classes?

The best tutors for C Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C Language with the Best Tutors

The best Tutors for C Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more