Showing posts with label learn c online at TCCI. Show all posts
Showing posts with label learn c online at TCCI. Show all posts

Wednesday, April 8, 2020

Categories of user defined function - tccicomputercoaching.com

Here, we will learn about category of functions in C programming language.

These categories depend on Parameter and function parameter.

A parameter is a variable that we use in a function definition. An argument is the actual data that we pass to the function parameter.


Example:

#include <studio.h>
//Function declaration
int getsum(int, int);
int main(void) {
  /**
   * We are calling the getArea() function
   * The arguments passed to the function are 10 and 20.
   */
  int area = getsum(10, 20);
  //output
  printf("Sum: %d\n", sum);
  return 0;
}
/**
 * Function definition
 * Following are the parameters of the given function getArea()
 * Length
 * Width
 */
int getsum(int a, int b) {
  return (a+b);
}

These categories depend on Function Parameter and Function Argument:

Function with no argument and no return value.

- To create a function with no argument and no return value we set the parameter list to void and the return type of the function to void.

For example,

void print10() {
  printf("10");
}
Function with no argument but returns a value.

-For this type of functions we have void in the parameter list but we set the return type to match the type of value returned by the function.

For example,

int get10(void) {
  return 10;
}

Function with argument but no return value.

-In this type of functions we have the return type set to void but the parameter list is set to accept some argument.

For example,

void getNumber(int num) {
  printf("Number: %d", num);
}

Function with argument and returns a value.

-In this type of functions we set both the parameter list and the return type.

For example,

float getArea(float length, float width) {
  return length * width;
}

To learn more in detail about C Language, Programming Language, TCCI

Call us @ 9825618292

Visit us @ www.tccicomputercoaching.com

Friday, June 21, 2019

Learn C Language at TCCI - Ahmedabad

C Language
C programming is a general purpose and popular computer programming language which is widely used for system and application software. C programming is widely used because of its efficiency and control. We include all basic concepts in our teaching course with theory and practical both, which help to our students even if he is very beginner or weak in programming language.



We teach following topics in c course:

1. Introduction to C

2. Basic Syntax

3. Token

4. Data Types and Variables

5. Constants, Literals

6. Storage class

7. Operators

8. Loop Controls

a. For Loop

b. While Loop

c. Do-While Loop

9. Decision Making

10. Arrays

11. String

12. Function

13. Pointer

14. Inheritance

15. Structure

16. Union

17. Type Casting

18. Recursion

19. Files

20. Command Line Argument

Course duration : Daily/4 days/3 Days/2 Days.

Class Mode : Theory with Practical's.

Lecture Timing : At student’s convenience.

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/workshop/

Friday, May 10, 2019

Operators in C Language - Tccicomputercoaching.com

Operator in C Programming Course is symbol that operates on operands or variable.

An arithmetic operator performs mathematical operations such as addition, subtraction and multiplication on numerical values.



Operator Meaning of Operator
+ addition or unary plus
- subtraction or unary minus
* Multiplication
/ Division
% remainder after division( modulo division)








TCCI-Tririd Computer Coaching Institute teaches C languages at Bopal and Satellite in Ahmedabad. TCCI have high qualified and experienced faculty who are always ready to help the students in each way.

To learn more about operators

Call us @ 98256 18292.

Visit us @ http://tccicomputercoaching.com/workshop/