what is the differnce between AF_INET and PF_INET?
Answer Posted / aymlord
it is a hitorical differnce,
that the first one supports the ipv6 and the second dosen't.
| Is This Answer Correct ? | 13 Yes | 21 No |
Post New Answer View All Answers
What is the size of enum in c?
How a string is stored in c?
What are valid operations on pointers?
What is the best style for code layout in c?
What is the difference between text files and binary files?
What is a const pointer in c?
Apart from dennis ritchie who the other person who contributed in design of c language.
Can you please explain the difference between strcpy() and memcpy() function?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Can a local variable be volatile in c?
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?
C program to find all possible outcomes of a dice?
Why string is used in c?
What is difference between array and structure in c?
Do you know the difference between malloc() and calloc() function?