codewithc

CWC

628 Articles

What is a null pointer in C Programming

In c programming there are various terms that are used in referring…

CWC CWC

How Initialize Unions in C Programming

Union in C programming allows the user to store different data types…

CWC CWC

C Program to accept values into single dimensional array and print the array in reverse by using pointers

#include<stdio.h> #include<conio.h> main( ) { int a,*b,i; clrscr( ); b=&a; for(i=0;i<=4;i++) {…

CWC CWC

C Program to accept a string and print reverse of the given string by using functions

#include<stdio.h> #include<stdio.h> int getline (char str[]); void printline (char str[],int i); main(…

CWC CWC

How to Convert a Binary Search Tree to an Array in C Programming

How to Convert a Binary Search Tree to an Array in C…

CWC CWC

C Program to accept values into an array and print array in reverse and original format by using three different functions

#include<stdio.h> #include<conio.h> void read_array(int x[]); void print_array(int y[]); void rev_array(int z[]); main()…

CWC CWC
en_USEnglish