C Program to Count Number of Words in a String

Write a C program to count number of words in a string.¬†Given an input string, we have to write a code to count number of words in a string. The words in a string are separated by space(‘ ‘).

C Program to Swap two Numbers without using third variable

Write a c program to swap two numbers without using third variable. Given two input numbers, We have to write a code to swap two numbers without using third variable. In my previous post, I have explained a c program to swap two numbers using third variable. This question is generally asked in an interview.

Subscribe Our Tutorials

Get Latest Updates on Facebook

Programming questions on linked list

Swap two numbers using Bitwise XOR Operator