answersLogoWhite

0

Sure. You can write any string, containing or not-containing semicolons (or commas, full stops etc).

On the other hand, you cannot write programs without statements, and you have to terminate statements with semicolon.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Can you print string without using semi column in printf statement in c programming?

If you forget the semicolon, your program won't compile.


How do you Print all the first characters in the string in python programming?

Let's say your string is a variable called "string" To print out all the characters in order, you would do: for i in string: print(string[i]) If you wanted to print out characters up to a point (n = maximum characters): for i in range(n): print(string[i]) hope this helps!


Write c program to print palindrome using string without using strrev strlen strcam?

sdfdg


By using awk programming how to count number of lines in a given file without wc command?

Use the following:awk 'END { print NR }'Awk will count the lines and print it out.


How do you print a spreadsheet without the letters and number row and column?

You can turn them off in the options when printing. Check out the options section.


Write a program in java programming language to print welcome to java programming?

public class welcome { public static void main (String args[]) { System.out.println("Welcome to Java programming"); } } There are also many "Hello World" tutorials you can find elsewhere on the internet


How do you print a string 5 times in java?

For(int I = 0: I < 5; i++) { System.out.println(" print this " + I ); }


What is a column inch in print media?

14 agate lines


What converts print jobs generated by applications into a string of commands for a specific print device?

Printer driver


How do you program pyramid of letters using dev c plus programming?

#includeint main(){static int ROWS = 6;char ch;printf("Please enter an UPPERCASE letter:");scanf("%c",&ch);for( int row = 0; row < ROWS; ++row ){// Print padding.for( int column = 1; column < ROWS - row; ++column)printf(" ");// Print letters left of centre.for( int letter = row; letter >= 1; --letter)printf("%c", ch);// Print centre letter.printf("%c", ch);// print letters right of centre.for( int letter = row; letter >= 1; --letter)printf("%c", ch);printf("\n");}return( 0 );}


How can you print your name in c or c plus plus with out using semi column?

You can not print your name in C without a semi colon because according to the rules of C every statement should end with a semi colon.In fact without the semi colon it fails to be a valid C statement.


What ConsoleWriteLine do when NULL character within a string?

it will print nothing on commandline..