Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update placeholders_list.txt #1289

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions lectures/12-strings/code/src/com/kunal/placeholders_list.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
There are many format specifiers we can use. Here are some common ones:

%c - Character
%d - Decimal number (base 10)
%d - Integer number(base 10)
%e - Exponential floating-point number
%f - Floating-point number
%i - Integer (base 10)
%f - Decimal number(float and double) (base 10)
%o - Octal number (base 8)
%s - String
%u - Unsigned decimal (integer) number
%x - Hexadecimal number (base 16)
%t - Date/time
%n - Newline
%n - Newline