What are nested functions in c?
No Answer is Posted For this Question
Be the First to Post Answer
using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk.
Why c is faster than c++?
What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?
write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.
the format specified for hexa decimal is a.%d b.%o c.%x d.%u
how to swap four numbers without using fifth variable?
What is the purpose of 'register' keyword in c language?
What is the use of bit field?
Whats s or c mean?
Why can't we initialise member variable of a strucutre