aaaa12345
printf is a function that prints something onto the terminal. It also returns an int which is the number of characters it printed.So, the function prototype of printf is:int printf(const char *format, .
.)Therefore, c22123Since printf prints two characters '1 and '0So, the final output is:102310 from first printf and '23 from second printf.Happy reading!
· Suggested Reading
Why are string literal conversions to char* deprecated in C?
C string literals are of type const char *, whereas in C they are char *. Implicit conversion to a char * would result in undefined behavior and is thus deprecated.
Edit: er, in C modifying a string literal of course results in undefined behavior. C's stronger type safety just allows the compiler to strictly prevent the type conversion rather than leave the behavior undefined
------
In "The Godfather" (1972) why did Carlo Rizzi easily fall for Michael's lie at the end? Didn't he know that playing a role in Michael's brother's death and beating his sister increases his chances of being killed?
Michael Corlone was an excellent communicator and manipulator. The fact that he was Godfather to Carlos child and a member of the house and that a lot of time had passed was part of it; but also, Michael very convincingly told him that his punishment would be exile to Las Vegas, LV and gave Carlo the impression that that punishment fitted the crime. Carlo, not overly smart, and certainly in a position in which his cognitive faculties were significantly declined, swallowed up the lie.
------
When having a professional email conversation, is it proper etiquette to start each email with "Hello" despite already saying it in the starting email?
I honestly think you are worrying about nothing. I have professional email exchanges every day with all kinds of people.
Some people say Hi every time out of habit, some just start an email with, Bill. , some dont use any greeting at all, they just start writing. Personally, I think it is courteous to use a greeting of some kind on the first exchange of a conversation, but after that, you can literally do your own thing
------
Are there any Welsh people who don't speak any English, only Welsh?
Although it is acknowledged that the majority of first language Welsh speakers do have at least some knowledge of English, I wouldnt be surprised if there are farming communities, especially in areas like Snowdonia and the Llyn Peninsula , who have never been exposed to English, and so their knowledge of English is very limited. Quite amusing really! One way of preserving total national heritage anyway
------
What does '%' mean in C programming?
Basically, it is the modulo operator that give us remainder. You may check here for more information. SumitTiwari's answer to C Programming - How does the modulus operator work when we divide a smaller number by a larger number?
For example, 3%5 or 5%10?Also, in C, u2018%u2019 is used with the printf() and scanf() function as the format specifier and give information about the type of data to be processed. For example:%d or %i >> Indicates an integer%f >> float%c >> char%s >> stringetc.
------
Why do narcissistic people want to always destroy the person in the end?
Yes, they are pathetic empty vampires who are dying for money, power, admiration and adoration all of the time without which they cannot survive. They will do anything to get these supplies.
They do not have a conscience or a soul.If it destroys you in the process for them to get their supplies they do not hesitate to deliberately destroy you.
------
How did Michael get away with killing the 5 chiefs?
The Corleones werent as strong as they were. And the families surely didnt forgive Michael. How did he survive them?
This was not done in a vacuum. He did have all the Families heads removed. But sure promises where made to the people under them for safety with joining the Corleone family.
Also they would have had informants planted in these families too. They would most likely be in positions to direct these families as needed by Michael. Also the regular soldiers had no loyalty to keep them in these families.
They where employees mostly
------
Who invented the first programming language?
The first person who wrote a computer program that I would recognize would be Ada Lovelace. She programmed the Babbage analytical machine in 1840, and was published in 1843.
This was designed for a mechanical computer, however it could be utilized systematically by human computers, and eventually her systematic approach was adapted by Zuse and eventually Mauchly for use as binary in analog, then digital computers as well.
------
How do you greet someone in South Africa?
You can say Hello, HI, Ninjani (that is one of the African languages), also Sawubona.
I hope I am spelling the African languages correctly. In Afrikaans you can say Goeie Mre for good morning, goeie middag is good afternoon and goeienaand is good evening. You can also say Nee Hau if you order Chinese takeaway.
I hope my spelling is correct
------
Is it bad that I ask a lot of questions about everything?
Its good to hace a lot oo question so your knowledge will enhance.The biggest problems are being an overthinkerSo you will stuck in one area from your life asking without doingSometimes the old saying is correctJust fucking do it.
because you cant accumulate the ultimate knowledge and sometimes you have to face life situation confused to even little bit ignorant.
------
Can you write the hello world program in C/C in a way that someone with just basic knowledge of the language canu2019t understand the code?
I couldve made it even more complicated, but here is my solution:#include h>#define _____(i,s,o,g,r,a,m)(i##r##s##o)#define _ _____(m,i,n,u,a,l,s)#define o_0 0x20int _() const char o_o o_0 0x28, o_0 0x45, o_0 0x4c, o_0 0x4c, o_0 0x4f, o_0 0xc, o_0 0x00, o_0 0x37, o_0 0x4f, o_0 0x52, o_0 0x4c, o_0 0x44, o_0 0x1, o_0 - o_0 ; printf("%sn",o_o); return 0; ------ How do I write a Python code that gets the input (let's say Hello World) and writes line by line like H, He, Hel, Hell, Hello, etc. There is more than one way to do this but this comes to my mind first. First get the input from user;message input(u201cEnter the Message: u201d)next we can define a variable to hold chars,display u201cu201dthen we can write a for loop to achieve what you have wanted,for char in message:tdisplay chartprint(display)which returns; (in case of input was u201cHello Worldu201d)HHeHelHellHelloHelloHello WHello WoHello WorHello WorlHello World ------ Why do British accents sound intelligent to Americans? I think it may have been earlier than Sean Connery. I suspect that with the advent of talking movies that such stars as Leslie Howard, Rex Harrison, Lawrence Olivier and others may have had a huge influence on Americans and of course the British Royals were always win the news during WWII along with Sir Winston Churchill.but, Sean Connery sure helped it along. An awful lot of American actors affected an almost English accent in movies, especially in the 30s and 40s. ------ Why do we say hi? If you are curious about why we use the word 'Hi' for greeting, it is a modern day evolution of the word 'Hello' which comes from french 'hola' which is used to call people to attract their attention. But the act of greeting itself in any species is to make their presence known or to attract attention. Humans often use words for this purpose.Source:
Hello
Greeting ------ Does my ex still like me? When she sees me drive by, she always looks away and pretends she is on her phone. If she didn't care, she would not act like that. Yikes. :( Yes or No.The answer is yes your ex still likes you, and in what LIKE are we talking about? Like. feelings of LOVE or just LIKE as in being friends? I am guessing. that your ex. is trying to avoid you.Keeping busy, and being on the phone and. looking away means she doesnt want YOU. to notice her.Love,Angela ------ Do blacks sometimes feel that white people ignore them when greeting? I don't think I've ever been ignored by white people when greeting. However I did know a white guy who, when in a group conversation with black people, would routinely ignore whatever the black person said. I mean he would just pretend like you didn't just talk and only listen to what the white people said, even if they were wrong. Here's a hypothetical conversation:Him: What is 22? Me: 4.Him: Anyone, does anyone know what 22 is?Other White Person: 7? Him: Yeah I think it's 7 ------ Why do neighbors just want to be left alone nowadays? What happened to being neighborly? Modern technology. The lack of trust .Does anyone trust anyone? NO. It's a shame although true. When I was fortunate to move into my neighborhood I took walks waved to all my neighbors. I just got the look! No one moves from the neighborhood. Been the same for 20yrs. How terrible we have all come to this. Its like years ago ppl wrote letters, now it's just an email or text. The world just gets smarter we just except it ------ So, ex narc is back again. I've told him seeing someone. I am. He is making a big deal of telling me we're done, doesn't want me, but wants to stay in touch. This is after months of silence. What's he playing at? Why is he backwhy havent you blocked and deleted himignored him and more importantly FORGOT about himif your ready for another relationship youd of forgot himif not then your using your new relationship as a toolwether you realise it or nota tool to score a pointif this wasnt the case the ex narc would play no role!you come on here asking questions BUT YOU KNOW FULL WELL WHAT YOUR DOING! grrr ------ Why do bikers point to the ground? During group ride outs, the lead rider will at a predetermined point point down which is a signal to the rider immediately behind him to stop there. When all the riders have passed the rider having stopped rejoins the line in front of the tail rider and in that way, each rider makes his way to the rear, and then moved forward in sequenceI know of no other reason why a rider would point downwards unless there is an esoteric and private message to other riders ------ What's a quick and polite way to turn down a salesperson on the street? A sales person is so used to people ignoring them that just simply walking right past looking forward is enough to show you're not interested. It's part of their job description to be persistent and if they're ignores, they'll just go to the next potential customer.
You're not being impolite if you do this, you're just showing a disinterest in what they have to offer. If they can't handle that then they have chosen the wrong job. ------ Is it better to hire a programmer to build your MVP rather than spending time learning to code? Depends on your goals. I suggest hiring.Want to learn to code? Learn by yourself. You might not launch that product ever.Want to launch that MVP ever? Hire a programmer. You might not learn programming in that case.Theres no in between, except really extreme effort cases (think like sweat blood), but it will always be ugly, if you do it yourself. Und ugliness doesn't attract clients much. You better dedicate your resources to research/concept/discussions/marketing/finance. Coding is NOT fast ------ How do cats say sorry to humans? My Isaac likes to bite me if foods not in his plate. PS he makes up for it. He is my bed warmer. I love him with all my heart. He is my baby I loved him the 1st day I held him he was three days old His eyes havent changed at all.He has a personslity of kindness and extremely well loved and spoiled. ------ We live in Trabzon. Our grandparents can speak Pontic Greek. Are we of Greek origin? I would say almost certainly. Some Greeks converted and thus stayed and were encouraged after 1923 to forget they had been Greek. or Pontic Greek was very much dialect so not only would the Turkish population not have learned it, it was long isolated from other Greek populations and became a seperate language.But I would believe if that is the first language of your grandparents you can trace yourself back to a 3000 year old Greek population. ------ How do you say "hi" in Italian? Buongiorno is the common way of saying hello in Italian, it literally means good day, I somewhat respectfully disagree with the answer given by Ms. Magagnini, as ciao is usually referenced as a good bye as opposed to a hello, though folks that are familiar with one and other will say ciao behind a long standing friendship. The proper way of saying hello is Buongiorno.
Hoped this helped!. ------ How do male teachers feel about talking to attractive female students? As a male teacher I generally thought it to be a good idea to talk to attractive female students as well as to all other students. I didnt want to discriminate against someone just because she happened to seem attractive. Outside of class the students I talked to most were those who were interesting to talk to regardless of any other characteristics they may have had. ------ How do you say "hello" in Brazilian Portuguese? What are some other common greetings? "Hello" is "Olu00e1". You can also say: "oi", "e au00ed", "fala", "beleza?", "bom dia", "boa tarde", "boa noite", "colu00e9". Also you can add a noun to any of those greetings just to increase Brazilian friendliness, such as: "fala irmu00e3o", "beleza, chefia?", "e au00ed, cara?", "colu00e9 mano". Even today, I still hear a greetings that I never heard before.
Edit: But if you pick up the phone, you will not say "olu00e1", but "alu00f4"