Profile cover photo
Profile photo
Pankaj Prakash
880 followers -
Learner, programmer, part time blogger...
Learner, programmer, part time blogger...

880 followers
About
Pankaj's posts

Post has attachment
C program to swap two numbers using call by reference
Previous Program Next Program Write a C program to swap two numbers using pointers and functions. How to swap two numbers using call by reference method. Logic to swap two number using pointers in C program. Example Input Input num1: 10
Input num2: 20 Outpu...

Post has attachment
C program to add two numbers using pointers
Previous Program Next Program Write a C program to read two numbers from user and add them using pointers. How to find sum of two number using pointers in C programming. Program to perform arithmetic operations on number using pointers. Example Input Input ...

Post has attachment
C program to demonstrate the use of pointers
Previous Exercise Next Program Write a C program to create, initialize and demonstrate the use of a pointer variable. How to access values and addresses using a pointer variable in C programming. Required knowledge Basic C programming , Pointers Basic of po...

Post has attachment
Half diamond number pattern with star border program in C - 1
Write a C program to print the given half diamond star number pattern series using for loop. How to print the given half diamond star number pattern series using loop in C programming. Logic to print the given star number pattern series using for loop. Exam...

Post has attachment
Diamond number pattern program in C - 3
Write a C program to print the given diamond number pattern series using loop. How to print the given number pattern series using for loop in C programming. Logic to print the given diamond number pattern series using for loop. Example: Input N: 5 1
121
123...

Post has attachment
C program to print X number pattern
Write a C program to print the given X number pattern series using for loop. How to print the given X number pattern series using for loop in C programming. Logic to print the given X number pattern using loop. Input N: 5 Output: 1 1
2 2
3 3
...

Post has attachment
Hollow square number pattern 1 in C
Write a C program to print the given number pattern using for loop. How to print the given hollow square number pattern using loop in C programming. Logic to print the given number pattern using loop in C program. Example: Input N: 5 Output: 12345
2 4
3 ...

Post has attachment
Square number pattern 2 in C
Write a C program to print the given square number pattern using loop. How to print the given square number pattern of n rows using for loop in C programming. Logic to print the given number pattern in C program. Example: Input N: 5 Output: 12345
23454
3454...

Post has attachment
C program to reverse order of words in a string
Write a C program to input any string from user and reverse the order of words. How to reverse the order of words in a given string using C programming. Logic to reverse the order of words in a sentence using C program. Example: Input string : I love progra...

Post has attachment
Triangle number pattern using 0,1 in C - 4
Write a C program to print the given triangle number pattern using 0, 1. How to print the given triangle number pattern with 0, 1 using for loop in C programming. Logic to print the given triangle number pattern using C program. Example: Input N: 5 Output: ...
Wait while more posts are being loaded