-
Display different combinations of some letters forming a word
w.a.p in C to input a word. find the total no. of letters forming the word. and using these letters display the total no. of possible combinations without repeating any letter.for example: if string entered is "sunil", the total no. of letters in the word is 5 i.e. s,u,n,i,l.and then displays sunil sunli...
C program to compare two text files
Hii All,
i am a begginer at c programming in the first semetser of study, and i am trying to doing my project what is:
Diff — The program should compare two text files and list the differences, i.e. lines and columns of the beginning and the end of a given difference.
i dont know how to start or what to do with this, please anyhelp :)
thank youC program 1-D array
Write a function to count how many students get marks higher than the average and how many students get marks lower than average mark out of n number of students.
Difference between printf and cprintf
What is the difference between cprintf and printf? Please explain in detail.
What change is required in the following program so that its output becomes 3,6,11,20,37,......1034?
c#include
#include
int main()
{
int a=1,r=2,i;
for (i=0;iPrint number of distinct characters in a string.
How do I implement a C program that reads a string and prints a table with the number of occurrences of each character in the string.
Ex: Rubber. r = 2, u = 1, b = 2, e = 1.C program to count numbers of positive and negative numbers
Write a C program using arrays to count the numbers of positive and negative numbers which accepts the inputs as "size of the array" & "elements of the array" and outputs as "number of negative numbers in an array are" & "numbers of positive numbers in an array are" ?
Function syntax
string abc = showData()["Hello"];
can somebody explain what is use of ["Hello"] after function call?Reverse String Stored in Pointer Array
Write a C program to reverse the strings stored in the following array of pointers to strings char *s[]={"To err is human..", "But to really mess things up", "One needs to learn C!!" };
What is the output of the following program:
cint main()
{
char a = 120, b = 140;
int i;
i = a + b;
printf("%d", i);
return 0;
}
a) 260
b) 0
c) -1
d) 1What is the output of the following sample C Code
Int *ptr = (int *)malloc(100*(sizeof(int)));ptr++;free(ptr);
It looks like you are using an AD Blocker!
Please Turn OFF your ad blocker
- OR -
LOGIN to continue using GeekInterview website.
Ans