Browsing Category
C
13 posts
How to find LCM of two Numbers in C ?
Answer : The LCM of two numbers a and b is the smallest positive integer that is perfectly divisible…
Explain Call by Reference in C language ?
Answer : In call by reference, original value is modified…
Explain Call by Value in C language ?
Answer : In call by value, original value is not modified…
Write a program without using library functions ?
Answer : C Standard library functions are inbuilt functions in C programming…
Pattern programs in C ?
Answer : Pattern programs in C print various patterns of numbers and stars…
Difference between data structure and database ?
Answer : Data Structure is about storing data…
How to count alphabets, numeric and special characters ?
Answer : In this example, we have to count digits, spaces, special…
How to convert hexadecimal to binary using c language ?
Answer : To convert hexadecimal to binary using c language…
main () {int x=20, y=35; x = y++ + x++; y = ++y + ++x; printf (“%d %d\n”, x, y);} ?
Answer : While calculating the y value, x & y values are preincremtned, so x & y values are incremented…
What is the main difference between c and c++ ?
Answer : The main difference between c and c++ is…