Knowledge in c programming questions

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.

Fibonacci series

This is the fibonacci series in C.

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.

PROGRAMMING

THIS PDF CONTAINS NOTES OF PROGRAMMING

PROGRAMMING

THIS PDF CONTAINS NOTES OF PROGRAMMING

BCA question paper of Programming in C.

BCA question paper of Programming in C.

C programming problem 2

This file contains a problem and its solution in C programming. It will help students to learn the basics of coding and programming in C. This file has problem statement to assign values of two numbers and print their sum.

C programming problem 3

This file contains a problem and its solution in C programming. It will help students to learn the basics of coding and programming in C. This file has problem statement to accept values of two numbers and print their sum.