How can I print a marker in C?

I want to print the following in C.

Tonight’s schedule is:
•   Pizza
•   Movie
•   ice cream

I do not know how to print a marker character.

+4
source share
6 answers

The code below can give you guidance on this:

#include <stdio.h>

int main(int argc, char** argv)
{
  printf("Tonight’s schedule is: \u2022 Pizza \u2022 Movie \u2022 ice cream\n");
  return 0;
}
+3
source

• html number search &#8226; This link declares "\ u2022" as the encoding of the C source code.

+2
source

: -

puts("Tonight’s schedule is: • Pizza • Movie • ice cream");
+1

, ASCII. cmd, . cmd ASCII. codechef online ide (https://www.codechef.com/ide) out. .

#include <iostream>
using namespace std;

#include<stdio.h>



int main(){

    char list1[]="Pizza";
    char list2[]="Movie";
    char list3[]="ice cream";
    int a=149;


   printf("%c %s %c %s %c %s",a,list1,a,list2,a,list3);



}
+1

, , . . , MS- (, , 1252) linux (, , utf-8).

+1

ascii .

#include<stdio.h>
void main(){
   char a=atoi("149");
   printf("%c %s %c %s %c %s",a,"pizza",a,"movie",a,"ice cream");   
}
-1

All Articles