Visit: https://financeclub.viden.io
Type Casting in C
Typecasting allows us to convert one data type into other. In C language, we use cast operator for typecasting which is denoted by (type).Syntax:(type)value; Without Type Casting:int f= 9/4; printf("f : %d\n", f );//Output: 2 With Type Casting:float f=(float) 9/4; printf("f : %f\n", f );//Output: 2.250000 Type Casting exampleLet's see a simple example to cast int value into the float.#include<stdio.h> int main(){ float f= (float)9/4; printf("f : %f\n", f ); return 0; } Output:f : 2.250000
Programs in C using only print statements
This enlightens the use of the printf statement and the basic structure.
Pattern printing using printf
This is the basic pattern printing programs using printf statements.
Introduction to variables
This this the introduction to various variables and its data types.
Arithmetical operations in C programming
The introduction of variables is followed by mathematics operations using operators.
Formulas in C
This is the postfix and prefix operations and also the use of math functions to find frequency.
Fibonacci series
This is the fibonacci series in C.
Program to find the Interest
Program to input principal, time and rate and find the Interest.
Ascending and descending order
This is the ascending and descending order of numbers.
COMPUTER PROGRAMMING (FY) END SEMESTER 2019 QUESTION PAPER {DBATU}
This pdf contains the question paper of END SEMESTER 2019 of COMPUTER PROGRAMMING of DR. BABASAHEB AMBEDKAR TECHNOLOGICAL UNIVERSITY. Also the paper contains questions from whole required syllabus of COMPUTER PROGRAMMING with proper marking scheme and paper pattern.
PROBLEM SOLVING USING C PROGRAMMING A10 SET 1
This is very much related to the computer programming question paper for the semester exam.
String Manipulation Functions
The C Library provides a rich set of string handling functions that are placed under the header file and . Some of the string handling functions are (string.h): strlen() strcat() strcpy() strrchr() strcmp() strstr() strchr() strrev() Some of the string conversion functions are (ctype.h): toupper() tolower() toascii() All I/O functions are available in stdio.h scanf() printf() gets() puts() getchar() putchar()