Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

UNIX C Which of the following command(s) can be used to check if the string aabbcc matches a pattern or not? (a) expr aabbcc 'aa.^**

UNIX C image text in transcribed
Which of the following command(s) can be used to check if the string "aabbcc" matches a pattern or not? (a) expr "aabbcc" 'aa.^** (b) echo "aabbcc" | grep 'aa.^** (c) expr match "aabbec" aa.^** (d) egrep 'aa.^** (b) #include (c) #include stdio.h (d) include stdio.h If c is a variable of type char, which one of the following statement is illegal? (a) c = "\65'; (b) i+-c; (c) putchar(c) (d) printf(c); Assume 'A' has a ASCII code 65, c id a char type variable, so after the execution of c= 'A'+'6' -'3', The value of c is: (a) 'D' (b) 68 (c) 'C' (d) None of the above To inhibit variable substitution when echoing a string, we can use (a) Double quotes (b) Grave accent (c) Single quote (d) Curly brace Which of the following command can generate the executable file "test" (a) cc test c (b) cc -o test test.c (c) cc test.c; mv a.out test (d) cc test.c -o test

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

More Books

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago