C Programming Solution, Conditional, Looping, Array, Pointer, Structure, File Handling, Linked List Problem Solution in C Language. Specifically Created for Students of Gujarat Technological University (GTU) subject code 2110003.
How to Draw Context Level DFD
-
dfd level 0 types of data flow diagram data flow diagram symbols context
diagram context diagram example with explanation data flow diagram tutorial
pd...
C Program Hello World
Get link
Facebook
X
Pinterest
Email
Other Apps
/*Write a Program to display “Hello World” on the screen.*/ #include <stdio.h> int main(void) { printf("Hello World"); return 0; }
/*Write a Program to display “ WELCOME TO SILVER OAK INSTITUTE OF TECHNOLOGY ” on the screen.*/ #include <stdio.h> int main(void) { printf("WELCOME TO SILVER OAK INSTITUTE OF TECHNOLOGY"); return 0; }
/* Write a C Program to Conver all Character of String from upper to lower and lower to upper case. */ #include <stdio.h> int main(void) { char str[20]="aBcDeF"; int i=0; while(str[i]!='\0') { str[i]=str[i]^32; //Above Logic will convert character upper to Lower and lower to upper i++; } printf("Changed String : %s",str); return 0; }
/* C Program doing Swapping using Bitwise Operator */ #include <stdio.h> int main() { int i=10,j=20; printf("\n Before Swapping : i =%d j=%d",i,j); i^=j^=i^=j; printf("\n After Swapping : i =%d j=%d",i,j); return 0; }
Comments
Post a Comment