what will happen if you free a pointer twice after
allocating memory dynamically ?
Answers were Sorted based on User's Feedback
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
Why do we use return in c?
Given a number N, product(N) is the product of the digits of N. We can then form a sequence N, product(N), product(product(N))… For example, using 99, we get the sequence 99, 99 = 81, 81 = 8. Input Format: A single integer N Output Format: A single integer which is the number of steps after which a single digit number occurs in the sequence. Sample Test Cases: Input #00: 99 Output #00: 2 Explanation: Step - 1 : 9 * 9 = 81 Step - 2 : 8 * 1 = 8 There are 2 steps to get to this single digit number. Input #01: 1137638147
to get a line of text and count the number of vowels in it
What is the difference between realloc() and free()
explain how do you use macro?
write a recursive program in'c'to find whether a given five digit number is a palindrome or not
Why is %d used in c?
How can I list all of the predefined identifiers?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
write a program to display the numbers having digit 9 in the given range from 1 to 100
write a program to print calender using for loop.