program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
2096pgm to reverse string using arrays i.e god is love becomes love is god) (assumption:only space is used for seperation of words) no addtional memory used.i.e no temporary arrays can used.
4 10705pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
2336pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words )
2 13418pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
2646pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
2 16464Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
1 8242Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return - 1. The function should not make use of any C library function calls.
3 16954Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.
1 12975
How to write a code for reverse of string without using string functions?
What is malloc return c?
What is #define used for in c?
How pointer is different from array?
Is the exit() function same as the return statement? Explain.
how do you programme Carrier Sense Multiple Access
What are the different types of C instructions?
How can I read/write structures from/to data files?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
Is a pointer a kind of array?
How do you print an address?
What happens if a header file is included twice?
What is 02d in c?
Describe how arrays can be passed to a user defined function
Explain the difference between malloc() and calloc() function?