Previous Year Question Paper MCA FY SEM I
Computer Organizations and Architecture
Notes for BCA BSC BSc.SE
MCA FY
Data structure Practical list Previous Year Question Paper
MCA FY Sem I
MCA-R 102 Data structure using C
Windows Programming using C#
Chapter 1 Introduction
Chapter 2 Windows Application and Control
Chapter 3 Function array String Property, delegate and event
Chapter 4 Database Connectivity
Data Structure
chapter 1 Introduction
Chapter 2 Sorting
Chapter 3 Stack ,Queue
Chapter 4 Trees
convert prefix exp into infix exp
Fundamentals of Computer Science and Information technology
chapter 1 Introduction to Computer and History
chap 2 Computer Peripherals & Memory
Variables in C are associated with data type. Each data type requires an amount of memory and performs specific operations.
There are some common data types in C −
int − Used to store an integer value.
char − Used to store a single character.
float − Used to store decimal numbers with single precision.
double − Used to store decimal numbers with double precision.
#include <stdio.h>
int main() { // datatypes int a = 10; char b = 'S'; float c = 2.88; double d = 28.888; printf("Integer datatype : %d\n",a); printf("Character datatype : %c\n",b); printf("Float datatype : %f\n",c); printf("Double Float datatype : %lf\n",d); return 0;
Control statement
if statement:-