No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi can anyone tell me how string ends in C# does it have a null in the end or any other way and if there is null character at the end of string then which function or how to get the index of that null? |
|
Re:
I'm writing a simple number generator program and I'm trying to find an easier way to get a random number, store it then display it. The catch is I don't want duplicated numbers (each need to be different). here is what I have so far, it does work but I'll … |
|
Re:
i wrote this program and i want display 0, if the character entered is not an alphabet (!@#$% 5 or any other non alphabet) can i have a quick solution #include <stdio.h> void main () { char char1,char2; printf("\tEnter first character :"); scanf("\t%c", &char1); printf("\tEnter second character :"); scanf("\n\t%c", &char2); … |